add new fields

This commit is contained in:
sonal
2020-07-19 12:09:56 +05:30
commit 1e6cb0a1d0
8 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- view common to both template and product -->
<record id="product_template_form_view__inventory_inherit" model="ir.ui.view">
<field name="name">product.template.stock.property.form.inherit</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml">
<page name="inventory" position="inside">
<xpath expr="//field[@name='weight']" position="after">
<field name="width"/>
</xpath>
</page>
</field>
</record>
</data>
</odoo>