[FIX]: delivery: fixed problem of wrong reference in inherited view

bzr revid: rpa@tinyerp.com-20120410143237-mojjdxujwttbp4ay
This commit is contained in:
Rucha (Open ERP)
2012-04-10 16:32:37 +02:00
parent 0d2ba40cf8
commit ea5ece169b
+1 -1
View File
@@ -304,7 +304,7 @@
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='button_dummy']" position="after">
<xpath expr="//button[@name='order_confirm']" position="after">
<button name="%(action_delivery_cost)d" states="draft" string="Delivery Costs" type="action" icon="gtk-add" context="{'order_id':active_id}"/>
</xpath>
</field>