From a8e1595a12dec27405fbc9da5bbba709c9d261a6 Mon Sep 17 00:00:00 2001 From: Goffin Simon <sig@odoo.com> Date: Tue, 11 Oct 2016 16:29:38 +0200 Subject: [PATCH] [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 --- addons/sale_margin/views/sale_margin_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_margin/views/sale_margin_view.xml b/addons/sale_margin/views/sale_margin_view.xml index fa9c56fe28a1..b0da87326fae 100644 --- a/addons/sale_margin/views/sale_margin_view.xml +++ b/addons/sale_margin/views/sale_margin_view.xml @@ -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> -- GitLab