-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathparty.xml
25 lines (24 loc) · 1.06 KB
/
party.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
<?xml version="1.0"?>
<!--The COPYRIGHT file at the top level of this repository
contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.action.act_window" id="act_activity_form">
<field name="name">Activities</field>
<field name="res_model">activity.activity</field>
<field name="domain" pyson="1"
eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('party', '=', Eval('active_id')), ('party', 'in', Eval('active_ids')))]"/>
</record>
<record model="ir.action.keyword"
id="act_open_activities_keyword">
<field name="keyword">form_relate</field>
<field name="model">party.party,-1</field>
<field name="action" ref="act_activity_form"/>
</record>
<record model="ir.action-res.group"
id="act_act_activity_form-group_activity">
<field name="action" ref="act_activity_form"/>
<field name="group" ref="group_activity"/>
</record>
</data>
</tryton>