2017-05-26 10:21:27 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
this repository contains the full copyright notices and license terms. -->
|
|
|
|
<tryton>
|
|
|
|
<data depends="activity">
|
2017-06-07 13:13:17 +02:00
|
|
|
<!-- activity -->
|
2017-05-26 10:21:27 +02:00
|
|
|
<record model="ir.rule.group" id="rule_group_activity_activity">
|
|
|
|
<field name="model" search="[('model', '=', 'activity.activity')]"/>
|
|
|
|
<field name="global_p" eval="True"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.rule" id="rule_activity_activity1">
|
|
|
|
<field name="domain"
|
2018-02-14 09:36:10 +01:00
|
|
|
eval="['OR', ('companies', 'in', [Eval('user', {}).get('company', None)]), ('companies', 'in', [])]"
|
2017-05-26 10:21:27 +02:00
|
|
|
pyson="1"/>
|
|
|
|
<field name="rule_group" ref="rule_group_activity_activity"/>
|
|
|
|
</record>
|
|
|
|
</data>
|
2017-05-26 12:54:36 +02:00
|
|
|
</tryton>
|