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">
|
2019-04-13 09:21:45 +02:00
|
|
|
<field name="name">Activity Company Rule</field>
|
2017-05-26 10:21:27 +02:00
|
|
|
<field name="model" search="[('model', '=', 'activity.activity')]"/>
|
|
|
|
<field name="global_p" eval="True"/>
|
|
|
|
</record>
|
2021-04-25 16:27:42 +02:00
|
|
|
<record model="ir.rule" id="rule_activity_activity_companies">
|
2022-11-28 18:13:59 +01:00
|
|
|
<field name="domain" eval="['OR', ('companies', 'in', Eval('companies', [])), ('companies', 'in', [])]" pyson="1"/>
|
2017-05-26 10:21:27 +02:00
|
|
|
<field name="rule_group" ref="rule_group_activity_activity"/>
|
|
|
|
</record>
|
|
|
|
</data>
|
2017-05-26 12:54:36 +02:00
|
|
|
</tryton>
|