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 

&nbsp;<terp>
&nbsp; &nbsp; &nbsp; <data>
&nbsp; &nbsp; &nbsp; &nbsp;<record model="ir.ui.view" id="view_purchase_form1">
&nbsp; &nbsp; &nbsp; &nbsp;<field 
name="name">purchase.orderline.form.inherit</field> 
&nbsp; &nbsp; &nbsp; &nbsp;<field name="model">purchase.order.line</field> 
&nbsp; &nbsp; &nbsp; &nbsp;<field name="type">form</field> 
&nbsp; &nbsp; &nbsp; &nbsp;<field name="inherit_id" 
ref="purchase.purchase_order_line_form" /> 
&nbsp; &nbsp; &nbsp; &nbsp;<field name="arch" type="xml">
&nbsp; &nbsp; &nbsp; &nbsp;<field name="product_qty" position="after">
&nbsp; &nbsp; &nbsp; &nbsp;<field name="discount" colspan="2" /> 
&nbsp; &nbsp; &nbsp; &nbsp;</field>
&nbsp; &nbsp; &nbsp; &nbsp;</field>
&nbsp; </record>
&nbsp; </data>
&nbsp; </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

&#123;
&nbsp; &nbsp;"name" &#58; "Purchase Order Lines With Discounts",
&nbsp; &nbsp;"author" &#58; "Tiny",
&nbsp; &nbsp;"version" &#58; "1.0",
&nbsp; &nbsp;"category" &#58; "Generic Modules/Sales & Purchases",
&nbsp; &nbsp;"depends" &#58; &#91;"base", "account", "stock"&#93;,
&nbsp; &nbsp;"demo_xml" &#58; &#91;&#93;,
&nbsp; &nbsp;"update_xml" &#58; &#91;"purchase_discount_view.xml"&#93;,
&nbsp; &nbsp;"active"&#58; False,
&nbsp; &nbsp;"installable"&#58; True
&#125;





-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=23380#23380

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to