Skip to content

Commit a8e1595

Browse files
committed
[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
1 parent 8f6b5fc commit a8e1595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/sale_margin/views/sale_margin_view.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<field name="inherit_id" ref="sale.view_order_form"/>
2121
<field name="arch" type="xml">
2222
<xpath expr="//field[@name='order_line']/form//field[@name='price_unit']" position="after">
23-
<field name="purchase_price" groups="base.group_user" invisible="True"/>
23+
<field name="purchase_price" groups="base.group_user"/>
2424
</xpath>
2525
</field>
2626
</record>

0 commit comments

Comments
 (0)