diff options
Diffstat (limited to 'addons/sale_purchase/views/product_views.xml')
| -rw-r--r-- | addons/sale_purchase/views/product_views.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/addons/sale_purchase/views/product_views.xml b/addons/sale_purchase/views/product_views.xml new file mode 100644 index 00000000..71fffeaa --- /dev/null +++ b/addons/sale_purchase/views/product_views.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + + <record id="product_template_form_view_inherit" model="ir.ui.view"> + <field name="name">product.template.form.inherit</field> + <field name="model">product.template</field> + <field name="inherit_id" ref="purchase.view_product_supplier_inherit"/> + <field name="arch" type="xml"> + <xpath expr="//group[@name='bill']" position="before"> + <group string="Reordering" attrs="{'invisible': [('type','!=','service')]}"> + <field name="service_to_purchase"/> + </group> + </xpath> + </field> + </record> + +</odoo>
\ No newline at end of file |
