summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-10-12 12:11:26 +0200
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-10-12 12:11:26 +0200
commitde1bd7a2cb67de5df42c802bcec24d8aacf889b1 (patch)
treebe5e2903c4d39eb8143e54220be1f023200eecf5
parent56477a10635b2eb2b4e5b854401f49360d45197c (diff)
[FIX] sale_stock: usability fix: onchange the product, the description field must be updated
bzr revid: qdp-launchpad@openerp.com-20121012101126-tdrhbp7r7eaivoz9
-rw-r--r--addons/sale_stock/sale_stock_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale_stock/sale_stock_view.xml b/addons/sale_stock/sale_stock_view.xml
index 8962c21dc6e..73b9d33ba90 100644
--- a/addons/sale_stock/sale_stock_view.xml
+++ b/addons/sale_stock/sale_stock_view.xml
@@ -56,7 +56,7 @@
<field name="product_id"
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}"
groups="base.group_user"
- on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, product_packaging, parent.fiscal_position, True, context)"/>
+ on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, product_packaging, parent.fiscal_position, False, context)"/>
</field>
<field name="product_uom_qty" position="replace">
<field context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}"