[FIX] product_extended: bom_count field in product template view

To apply this domain ('bom_count', '=', 0) in the product template view,
the field bom_count must be in the view.

opw:679095
This commit is contained in:
Goffin Simon
2016-06-06 14:56:52 +02:00
parent 412175b005
commit cce3fce3d0
@@ -9,6 +9,7 @@
<field name="groups_id" eval="[(4, ref('mrp.group_mrp_user'))]"/>
<field name="arch" type="xml">
<div name="standard_price_uom" position="after">
<field name="bom_count" invisible="1"/>
<button name="%(action_view_compute_price_wizard)d"
string="Compute from BOM" type="action"
attrs="{'invisible': ['|', ('cost_method', '!=', 'standard'), ('bom_count', '=', 0)]}"