-
Notifications
You must be signed in to change notification settings - Fork 6
/
partner.xml
70 lines (61 loc) · 2.81 KB
/
partner.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<tryton>
<data>
<!-- Partners -->
<record id="partner_view_tree" model="ir.ui.view">
<field name="model">cooperative.partner</field>
<field name="type">tree</field>
<field name="name">partner_tree</field>
</record>
<record id="partner_view_form" model="ir.ui.view">
<field name="model">cooperative.partner</field>
<field name="type">form</field>
<field name="name">partner_form</field>
</record>
<record id="act_partner_form" model="ir.action.act_window">
<field name="name">Partners</field>
<field name="res_model">cooperative.partner</field>
</record>
<record id="act_partner_form_view1" model="ir.action.act_window.view">
<field eval="10" name="sequence" />
<field name="view" ref="partner_view_tree" />
<field name="act_window" ref="act_partner_form" />
</record>
<record id="act_partner_form_view2" model="ir.action.act_window.view">
<field eval="20" name="sequence" />
<field name="view" ref="partner_view_form" />
<field name="act_window" ref="act_partner_form" />
</record>
<menuitem action="act_partner_form" id="menu_partner_form"
parent="menu_cooperative_ar" sequence="1" />
<!-- Skills -->
<record model="ir.ui.view" id="partner_skill_view_tree">
<field name="model">cooperative.partner</field>
<field name="type">tree</field>
<field name="name">partner_skill_tree</field>
</record>
<record model="ir.ui.view" id="partner_skill_view_form">
<field name="model">cooperative.partner</field>
<field name="type">form</field>
<field name="name">partner_skill_form</field>
</record>
<record model="ir.action.act_window" id="act_partner_skill">
<field name="name">Skills</field>
<field name="res_model">cooperative.partner</field>
<field name="domain" eval="[('status', '=', 'active')]" pyson="1"/>
</record>
<record model="ir.action.act_window.view"
id="act_partner_skill_view_form">
<field eval="10" name="sequence" />
<field name="view" ref="partner_skill_view_tree" />
<field name="act_window" ref="act_partner_skill" />
</record>
<record model="ir.action.act_window.view"
id="act_partner_skill_view_tree">
<field eval="20" name="sequence" />
<field name="view" ref="partner_skill_view_form" />
<field name="act_window" ref="act_partner_skill" />
</record>
<menuitem action="act_partner_skill" id="menu_partner_skill"
parent="menu_partner_form" sequence="10"/>
</data>
</tryton>