[IMP] report intrasat: move field from the view of product product to product template

This commit is contained in:
Christophe Matthieu 2014-06-16 10:13:56 +02:00
parent e915f4ca4d
commit 1356374275
1 changed files with 5 additions and 6 deletions

View File

@ -25,14 +25,13 @@
</record>
<!-- Product -->
<record id="product_normal_form_view" model="ir.ui.view">
<field name="name">product.normal.form</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<record id="product_template_form_view" model="ir.ui.view">
<field name="name">product.template.form</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml">
<field name="product_manager" position="after">
<field name="intrastat_id"
attrs="{'readonly': [('is_product_variant', '=', False)]}"/>
<field name="intrastat_id"/>
</field>
</field>
</record>