forked from OCA/timesheet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hr_holidays_view.xml
31 lines (28 loc) · 1.05 KB
/
hr_holidays_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- add analytic account on holidays status -->
<record model="ir.ui.view" id="edit_holiday_status_form1">
<field name="name">hr.holidays.status.form</field>
<field name="model">hr.holidays.status</field>
<field name="inherit_id" ref="hr_holidays.edit_holiday_status_form"/>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<field name="active" position="after">
<field name="analytic_account_id" />
</field>
</field>
</record>
<record model="ir.ui.view" id="view_holiday_status_tree1">
<field name="name">hr.holidays.status.tree</field>
<field name="model">hr.holidays.status</field>
<field name="inherit_id" ref="hr_holidays.view_holiday_status_normal_tree"/>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<field name="limit" position="after">
<field name="analytic_account_id" />
</field>
</field>
</record>
</data>
</openerp>