[IMP] lunch onchange on the product price to refresh the view
authorArnaud Pineux <api@openerp.com>
Fri, 21 Dec 2012 08:53:23 +0000 (09:53 +0100)
committerArnaud Pineux <api@openerp.com>
Fri, 21 Dec 2012 08:53:23 +0000 (09:53 +0100)
bzr revid: api@openerp.com-20121221085323-7b2hgqngtxe550a1

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>