diff options
Diffstat (limited to 'addons/sale/views/product_views.xml')
| -rw-r--r-- | addons/sale/views/product_views.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/addons/sale/views/product_views.xml b/addons/sale/views/product_views.xml new file mode 100644 index 00000000..1142887a --- /dev/null +++ b/addons/sale/views/product_views.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<odoo> + + <record model="ir.ui.view" id="product_template_sale_form_view"> + <field name="name">product.template.sales</field> + <field name="model">product.template</field> + <field name="inherit_id" ref="product.product_template_form_view"/> + <field name="arch" type="xml"> + <xpath expr="//group[@name='sale']" position="attributes"> + <attribute name="invisible">0</attribute> + </xpath> + <xpath expr="//group[@name='invoicing']" position="attributes"> + <attribute name="invisible">0</attribute> + </xpath> + </field> + </record> +</odoo> |
