FIX module sale_purchase_no_product_template_menu
This commit is contained in:
committed by
David Beal
parent
31c67cb923
commit
119bb936fa
@@ -43,5 +43,20 @@
|
|||||||
<field name="groups_id" eval="[(6, 0, [ref('base.group_system')])]"/>
|
<field name="groups_id" eval="[(6, 0, [ref('base.group_system')])]"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<!-- set name as editable on product.product form -->
|
||||||
|
<record id="product_normal_form_view" model="ir.ui.view">
|
||||||
|
<field name="name">no_product_template_menu.product_product_form</field>
|
||||||
|
<field name="model">product.product</field>
|
||||||
|
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<field name="name" position="attributes">
|
||||||
|
<attribute name="attrs">{}</attribute>
|
||||||
|
</field>
|
||||||
|
<field name="product_tmpl_id" position="attributes">
|
||||||
|
<attribute name="attrs">{'invisible': 1, 'required': 0}</attribute>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|||||||
Reference in New Issue
Block a user