do not pass the claim id so the onchange use the values on the views

this is better since the values in the view could have been changed
This commit is contained in:
Guewen Baconnier
2014-09-05 17:18:13 +02:00
parent 6904c15787
commit 6455fd2c12

View File

@@ -189,7 +189,7 @@
<group string="Returned good">
<field name="product_returned_quantity"/>
<field name="product_id"
on_change="onchange_product_id(product_id, invoice_line_id, parent.id, parent.company_id, parent.warehouse_id, parent.claim_type, parent.date, context)"/>
on_change="onchange_product_id(product_id, invoice_line_id, False, parent.company_id, parent.warehouse_id, parent.claim_type, parent.date, context)"/>
<field name="prodlot_id"/>
<field name="unit_sale_price"/>
<field name="return_value"/>