<?xml version="1.0" encoding="UTF-8" ?>
<odoo>

    <record id="project_task_create_timesheet_view_form_inherit" model="ir.ui.view">
        <field name="name">project.task.create.timesheet.wizard.form.inherit</field>
        <field name="model">project.task.create.timesheet</field>
        <field name="inherit_id" ref="hr_timesheet.project_task_create_timesheet_view_form"/>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='task_id']" position="after">
                <field name="work_type_id"
                       domain="[('allow_timesheet', '=', True)]"
                       context="{'default_allow_timesheet': True}" />
            </xpath>
        </field>
    </record>

</odoo>
