[FIX] Duplicated BoM view causes crash when installing both modules

* mrp_bom_reference_selection : Changed view id to enable use in other modules
* mrp_bom_version : View copied to match the one in other modules
This commit is contained in:
oihane
2015-10-02 11:44:07 +02:00
committed by Kay K. Cross
parent c65a46a749
commit 94becb864f

View File

@@ -5,13 +5,14 @@
<field name="domain">['|',('active','=',True),('active','=',False)]</field>
</record>
<record model="ir.ui.view" id="mrp.mrp_bom_tree_parent_view">
<field name="name">mrp.bom.tree.parent.view</field>
<record id="mrp.mrp_bom_tree_parent_view" model="ir.ui.view">
<field name="name">mrp.bom.tree</field>
<field name="model">mrp.bom</field>
<field name="arch" type="xml">
<tree string="MRP BoMs">
<field name="code"/>
<tree>
<field name="name"/>
<field name="code"/>
<field name="sequence"/>
</tree>
</field>
</record>