[FIX] Delivery : context corrected for SO view

bzr revid: jvo@tinyerp.com-20101012104408-1p69jj12v8itbpd9
This commit is contained in:
Jay (OpenERP) 2010-10-12 16:14:08 +05:30
parent 178d644b41
commit 499793ae41
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="/form/notebook/page[@string='Sales Order']/group[1]/button[@name='button_dummy']" position="after">
<button name="%(action_delivery_cost)d" states="draft" string="Delivery Costs" type="action" icon="gtk-add" context="{'order_id':id}"/>
<button name="%(action_delivery_cost)d" states="draft" string="Delivery Costs" type="action" icon="gtk-add" context="{'order_id':active_id}"/>
</xpath>
</field>
</record>