mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
Phantom bom lines with workorder association When installing variants, it doesn't assign corresponding wo to scheduled product Domain added to avoid selecting workorders that don't apply
21 lines
705 B
XML
21 lines
705 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="mrp_bom_form_view_inh" model="ir.ui.view">
|
|
<field name="name">mrp.bom.form.inh</field>
|
|
<field name="model">mrp.bom</field>
|
|
<field name="inherit_id" ref="mrp.mrp_bom_form_view" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//tree/field[@name='product_id']"
|
|
position="after">
|
|
<field name="operation"
|
|
domain="[('routing_id', '=', parent.routing_id)]"
|
|
groups="mrp.group_mrp_routings" />
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|