[FIX]from product's view if we click on Bill of Materials view it opens bill of materials view which is showing BoM of this product as a component too

bzr revid: kbh@tinyerp.com-20121004084253-hc1nibjcdkamocni
This commit is contained in:
Khushboo Bhatt (Open ERP) 2012-10-04 14:12:53 +05:30
parent 4858fff4ca
commit dbb18562a5
1 changed files with 1 additions and 0 deletions

View File

@ -1037,6 +1037,7 @@
<record model="ir.actions.act_window" id="product_open_bom">
<field name="context">{'default_product_id': active_id, 'search_default_product_id': active_id}</field>
<field name="name">Bill of Materials</field>
<field name="domain">[('bom_id','=',False)]</field>
<field name="res_model">mrp.bom</field>
</record>