summaryrefslogtreecommitdiff
path: root/addons/purchase/purchase_view.xml
diff options
context:
space:
mode:
authorqdp-launchpad@tinyerp.com <>2010-12-21 13:56:38 +0100
committerqdp-launchpad@tinyerp.com <>2010-12-21 13:56:38 +0100
commit02b60a7382bbc78ad1fbb02cbbeeb2c3bc5e9cd0 (patch)
treef076bfc6b85dec514f5936456e01792c4729dafe /addons/purchase/purchase_view.xml
parent5a0a79f5d5bdfc9f4d19afe6af6f49d04acfbbe8 (diff)
[FIX] product, purchase: price computation based on supplier tab of product (and uom computation) + added some warnings if user selection is not compliant with these info
lp bug: https://launchpad.net/bugs/423124 fixed bzr revid: qdp-launchpad@tinyerp.com-20101221125638-4hj2b2z01oh4uorx
Diffstat (limited to 'addons/purchase/purchase_view.xml')
-rw-r--r--addons/purchase/purchase_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index 4ffe5ac5f1e..8950b66f528 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -282,8 +282,8 @@
<form string="Purchase Order Line">
<notebook colspan="4">
<page string="Order Line">
- <field colspan="4" context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" name="product_id" on_change="product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,notes)"/>
- <field context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" name="product_qty" on_change="product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id,parent.date_order,parent.fiscal_position,date_planned,name,price_unit,notes)"/>
+ <field name="product_id" colspan="4" context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" on_change="product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,notes)"/>
+ <field name="product_qty" context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" on_change="product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id,parent.date_order,parent.fiscal_position,date_planned,name,price_unit,notes)"/>
<field name="product_uom" on_change="product_uom_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position)"/>
<field colspan="4" name="name"/>
<field name="date_planned" widget="date"/>