Hi,
I have tried but the console update is not working.
first let me share
1. There is correction required in the xml file
my case purchase_discount_view.xml. This is
the exact
<terp>
<data>
<record model="ir.ui.view" id="view_purchase_form1">
<field
name="name">purchase.orderline.form.inherit</field>
<field name="model">purchase.order.line</field>
<field name="type">form</field>
<field name="inherit_id"
ref="purchase.purchase_order_line_form" />
<field name="arch" type="xml">
<field name="product_qty" position="after">
<field name="discount" colspan="2" />
</field>
</field>
</record>
</data>
</terp>
2. pack the folder and all sub folders for this file into a zip file
3. use module installer to upload the packed zip file and then
it will update the tinyerp.
I got the above steps to work , just do not why when i use console update
it wasn't updating ... could it be my code ?
where my __terp__.py code are
{
"name" : "Purchase Order Lines With Discounts",
"author" : "Tiny",
"version" : "1.0",
"category" : "Generic Modules/Sales & Purchases",
"depends" : ["base", "account", "stock"],
"demo_xml" : [],
"update_xml" : ["purchase_discount_view.xml"],
"active": False,
"installable": True
}
-------------------- m2f --------------------
--
http://www.openerp.com/forum/viewtopic.php?p=23380#23380
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users