[FIX] sale: visible cost price in sale order line

The Cost of the product(purchase_price) must be shown in the wizard opened
when changing a SO line.

opw:690180
This commit is contained in:
Goffin Simon
2016-10-12 14:13:33 +02:00
parent 8f6b5fcf9e
commit a8e1595a12
@@ -20,7 +20,7 @@
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/form//field[@name='price_unit']" position="after">
<field name="purchase_price" groups="base.group_user" invisible="True"/>
<field name="purchase_price" groups="base.group_user"/>
</xpath>
</field>
</record>