|
@ -13,9 +13,9 @@ |
|
|
<attribute name="groups">hide_cost_price.groups_view_cost_price |
|
|
<attribute name="groups">hide_cost_price.groups_view_cost_price |
|
|
</attribute> |
|
|
</attribute> |
|
|
</xpath> |
|
|
</xpath> |
|
|
<xpath expr="//field[@name='standard_price']" |
|
|
<xpath expr="//div[@name='standard_price_uom']" |
|
|
position="attributes"> |
|
|
position="attributes"> |
|
|
<attribute name="groups">hide_cost_price.view_cost_price |
|
|
<attribute name="groups">hide_cost_price.groups_view_cost_price |
|
|
</attribute> |
|
|
</attribute> |
|
|
</xpath> |
|
|
</xpath> |
|
|
</field> |
|
|
</field> |
|
@ -35,4 +35,18 @@ |
|
|
</xpath> |
|
|
</xpath> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
<record id="product_variant_easy_edit_view" model="ir.ui.view"> |
|
|
|
|
|
<field name="name"> |
|
|
|
|
|
product.product.view.tree.inherited.hide.cost.price |
|
|
|
|
|
</field> |
|
|
|
|
|
<field name="model">product.product</field> |
|
|
|
|
|
<field name="inherit_id" ref="product.product_variant_easy_edit_view"/> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<xpath expr="//field[@name='standard_price']" |
|
|
|
|
|
position="attributes"> |
|
|
|
|
|
<attribute name="groups">hide_cost_price.groups_view_cost_price |
|
|
|
|
|
</attribute> |
|
|
|
|
|
</xpath> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
</odoo> |
|
|
</odoo> |
|
|