<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2023 Akretion (http://www.akretion.com/)
  @author: Alexis de Lattre <alexis.delattre@akretion.com>
  License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->

<odoo>


<record id="purchase_order_tree" model="ir.ui.view">
    <field name="model">purchase.order</field>
    <field name="inherit_id" ref="purchase.purchase_order_tree"/>
    <field name="arch" type="xml">
        <field name="date_planned" position="after">
            <field name="picking_type_id" optional="hide"/>
        </field>
    </field>
</record>

<record id="purchase_order_view_tree" model="ir.ui.view">
    <field name="model">purchase.order</field>
    <field name="inherit_id" ref="purchase.purchase_order_view_tree"/>
    <field name="arch" type="xml">
        <field name="date_planned" position="after">
            <field name="picking_type_id" optional="hide"/>
        </field>
    </field>
</record>

<record id="purchase_order_kpis_tree" model="ir.ui.view">
    <field name="model">purchase.order</field>
    <field name="inherit_id" ref="purchase.purchase_order_kpis_tree"/>
    <field name="arch" type="xml">
        <field name="date_planned" position="after">
            <field name="picking_type_id" optional="hide"/>
        </field>
    </field>
</record>



</odoo>
