[FIX]purchase :set a po line editable

bzr revid: mma@tinyerp.com-20120809052730-4c0ykb7k54v6ju44
This commit is contained in:
Mayur Maheshwari (OpenERP) 2012-08-09 10:57:30 +05:30
parent d58b36a8a3
commit 957022363e
1 changed files with 4 additions and 3 deletions

View File

@ -218,11 +218,12 @@
<notebook>
<page string="Purchase Order">
<field name="order_line">
<tree string="Purchase Order Lines">
<tree string="Purchase Order Lines" editable="bottom">
<field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="date_planned"/>
<field name="name"/>
<field name="product_qty"/>
<field name="product_uom" groups="product.group_uom"/>
<field name="product_qty" on_change="onchange_product_id(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id,parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="product_uom" groups="product.group_uom" on_change="onchange_product_uom(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="price_unit"/>
<field name="price_subtotal"/>
</tree>