26 lines
1017 B
XML
26 lines
1017 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2026 Nexa Systems Inc.
|
|
License OPL-1 (Odoo Proprietary License v1.0)
|
|
Extend batch form with work order M2M when MRP bridge is installed.
|
|
-->
|
|
<odoo>
|
|
|
|
<record id="view_fp_batch_form_mrp_bridge" model="ir.ui.view">
|
|
<field name="name">fusion.plating.batch.form.mrp.bridge</field>
|
|
<field name="model">fusion.plating.batch</field>
|
|
<field name="inherit_id" ref="fusion_plating_batch.view_fp_batch_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='chemistry_ids']/.." position="after">
|
|
<page string="Work Orders" name="work_orders">
|
|
<field name="workorder_ids" widget="many2many_tags"/>
|
|
<p class="text-muted" invisible="workorder_ids">
|
|
Link MRP work orders processed in this batch for full traceability.
|
|
</p>
|
|
</page>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|