<odoo>
    <record id="view_analytic_line_form_inherit" model="ir.ui.view">
        <field name="name">account.analytic.line.form.inherit</field>
        <field name="model">account.analytic.line</field>
        <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree" />
        <field name="arch" type="xml">
            <field name="name" position="before">
                <field name="predefined_description_id" optional="hide" />
                </field>
            </field>
    </record>
    <record id="view_account_analytic_line_form" model="ir.ui.view">
        <field name="model">account.analytic.line</field>
        <field name="inherit_id" ref="analytic.view_account_analytic_line_form" />
        <field name="arch" type="xml">
            <field name="name" position="before">
                <field name="predefined_description_id" />
                </field>
            </field>
    </record>
    <record id="view_project_task_form_inherit" model="ir.ui.view">
        <field name="name">project.task.form.inherit.predefined_description</field>
        <field name="model">project.task</field>
        <field name="inherit_id" ref="project.view_task_form2" />
        <field name="arch" type="xml">
            <xpath
                expr="//field[@name='timesheet_ids']/tree/field[@name='name']"
                position="before"
            >
                <field name="predefined_description_id" optional="hide" />
            </xpath>
        </field>
    </record>
</odoo>
