summaryrefslogtreecommitdiff
path: root/addons/project_timesheet_holidays/views/hr_holidays_views.xml
blob: 845b3e11905539477365b6566b0d2bc8db917447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="hr_holiday_status_view_form_inherit" model="ir.ui.view">
        <field name="name">hr.leave.type.form</field>
        <field name="model">hr.leave.type</field>
        <field name="inherit_id" ref="hr_holidays.edit_holiday_status_form"/>
        <field name="arch" type="xml">
            <xpath expr="//group[@name='calendar']" position="after">
                <group name="timesheet" string="Timesheet" groups="base.group_no_one">
                    <field name="timesheet_project_id" context="{'active_test': False}"/>
                    <field name="timesheet_task_id" context="{'active_test': False}"/>
                    <field name="timesheet_generate" invisible="1"/>
                </group>

            </xpath>
        </field>
    </record>

</odoo>