[IMP] lunch onchange on the product price to refresh the view
[odoo/odoo.git] / addons / lunch / lunch_view.xml
index 97bd602..c5de61c 100644 (file)
                             <tree string='List' editable='bottom'>
                                 <field name='product_id' on_change='onchange_price(product_id)'/>
                                 <field name='note' />
-                                <field name='price' />
+                                <field name='price' on_change='onchange_price(product_id)'/>
                                 <field name='supplier' invisible="1"/>
                                 <field name="state" invisible="1"/>
                             </tree>