-
Notifications
You must be signed in to change notification settings - Fork 6
/
vacation.xml
36 lines (31 loc) · 1.42 KB
/
vacation.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
32
33
34
35
36
<tryton>
<data>
<!-- Permits and Vacations -->
<record id="vacation_view_tree" model="ir.ui.view">
<field name="model">cooperative.partner.vacation</field>
<field name="type">tree</field>
<field name="name">vacation_tree</field>
</record>
<record id="vacation_view_form" model="ir.ui.view">
<field name="model">cooperative.partner.vacation</field>
<field name="type">form</field>
<field name="name">vacation_form</field>
</record>
<record id="act_vacation_form" model="ir.action.act_window">
<field name="name">Permits and Vacations</field>
<field name="res_model">cooperative.partner.vacation</field>
</record>
<record id="act_vacation_form_view1" model="ir.action.act_window.view">
<field eval="10" name="sequence" />
<field name="view" ref="vacation_view_tree" />
<field name="act_window" ref="act_vacation_form" />
</record>
<record id="act_vacation_form_view2" model="ir.action.act_window.view">
<field eval="20" name="sequence" />
<field name="view" ref="vacation_view_form" />
<field name="act_window" ref="act_vacation_form" />
</record>
<menuitem action="act_vacation_form" id="menu_vacation_form"
parent="menu_cooperative_ar" sequence="1" />
</data>
</tryton>