[FIX] mrp: hide operations for archived BOM
Before this commit, the operations for archived bills of materials are still displayed in the operations list view. This commit adds a domain on the action to hide them. task-2417937 closes odoo/odoo#72483 X-original-commit: 1ca17dc750f6b9582acff659d9c32739fa28a1c2 Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>
This commit is contained in:
committed by
Rémy Voet (ryv)
parent
fa738e5101
commit
d2a8dc9a6d
@@ -111,6 +111,7 @@
|
||||
Each operation is done at a specific Work Center and has a specific duration.
|
||||
</p>
|
||||
</field>
|
||||
<field name="domain">['|', ('bom_id', '=', False), ('bom_id.active', '=', True)]</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_routing_workcenter_filter" model="ir.ui.view">
|
||||
|
||||
Reference in New Issue
Block a user