[FIX] mrp: The attribute on bom lines is not filtered in function of the selected...
authorChristophe Matthieu <chm@odoo.com>
Thu, 6 Nov 2014 17:09:52 +0000 (18:09 +0100)
committerMartin Trigaux <mat@odoo.com>
Fri, 7 Nov 2014 11:21:30 +0000 (12:21 +0100)
addons/mrp/mrp_view.xml

index c43df1f..12904e2 100644 (file)
                                     <field name="product_efficiency"/>
                                     <field name="date_start"/>
                                     <field name="date_stop"/>
-                                    <field name="attribute_value_ids" widget="many2many_tags"/>
+                                    <field name="attribute_value_ids" widget="many2many_tags" domain="[('product_ids.product_tmpl_id', '=', parent.product_tmpl_id)]"/>
                                 </tree>
                             </field>
                         </page>