<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <!--
        Copyright 2018-2019 Brainbean Apps (https://brainbeanapps.com)
        License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
    -->

    <record id="project_task_view_form_inherit_sale_timesheet" model="ir.ui.view">
        <field name="name">project.task.form.inherit.timesheet</field>
        <field name="model">project.task</field>
        <field
            name="inherit_id"
            ref="sale_timesheet.project_task_view_form_inherit_sale_timesheet"
        />
        <field name="arch" type="xml">
            <xpath
                expr="//field[@name='timesheet_ids']/tree/field[@name='so_line']"
                position="before"
            >
                <field name="exclude_from_sale_order" />
            </xpath>
        </field>
    </record>

</odoo>
