[FIX] purchase: order line description being reset on qty change

Also set name as False for product_id field in the purchase order line form (popup)
This rev. is related to 11bd7a6774
This commit is contained in:
Denis Ledoux 2015-02-16 15:04:22 +01:00
parent 4606b4535a
commit 30d3f9605f
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@
<sheet>
<group>
<group>
<field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,0,False,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,0,False,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,False,price_unit,context)"/>
<label for="product_qty"/>
<div>
<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)" class="oe_inline"/>