<?xml version="1.0"?>
<data><xpath expr="//header" position="after">
                    <field name="analytic_account_active" invisible="1"/>
                    <t name="timesheet_error" invisible="not allow_timesheets">
                        <div class="alert alert-warning mb-1 text-center" role="alert" colspan="2" invisible="not account_id or analytic_account_active">
                            You cannot log timesheets on this project since it is linked to an inactive analytic account.<br/>
                            Please switch to another account, or reactivate the current one to timesheet on the project.
                        </div>
                    </t>
                </xpath>
                <xpath expr="//field[@name='date']" position="after">
                    <field name="allocated_hours" widget="timesheet_uom_no_toggle" invisible="not allow_timesheets" groups="hr_timesheet.group_hr_timesheet_user"/>
                </xpath>
                <xpath expr="//group[@name='group_time_managment']" position="attributes">
                    <attribute name="invisible">0</attribute>
                </xpath>
                <xpath expr="//group[@name='group_time_managment']" position="inside">
                    <setting class="col-lg-12" id="timesheet_settings" string="Timesheets" help="Log time on tasks">
                        <field name="allow_timesheets"/>
                    </setting>
                </xpath>
            </data>