Skip to content
Snippets Groups Projects
Commit cce3fce3 authored by Goffin Simon's avatar Goffin Simon
Browse files

[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
parent 412175b0
No related branches found
No related tags found
No related merge requests found
......@@ -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)]}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment