<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="mrp_production_workorder_tree_view_inherit" model="ir.ui.view">
        <field name="name">MRP Work Order Tree with Sale Order</field>
        <field name="model">mrp.workorder</field>
        <field name="inherit_id" ref="mrp.mrp_production_workorder_tree_view_inherit"/>
        <field name="arch" type="xml">
            <field name="date_planned_start" position="after">
                <field name="sale_id"/>
                <field name="partner_id"/>
                <field name="commitment_date"/>
            </field>
        </field>
    </record>

    <record id="mrp_production_workorder_form_view_inherit" model="ir.ui.view">
        <field name="name">MRP Work Order Form with Sale Order</field>
        <field name="model">mrp.workorder</field>
        <field name="inherit_id" ref="mrp.mrp_production_workorder_form_view_inherit"/>
        <field name="arch" type="xml">
            <field name="production_id"  position="after">
                <field name="sale_id"/>
                <field name="partner_id"/>
                <field name="commitment_date"/>
            </field>
        </field>
    </record>

</odoo>
