Replace rule_galatea_user to main_companies

This commit is contained in:
Raimon Esteve 2022-04-29 14:02:26 +02:00
parent 360555f98d
commit 4be3c388c8
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ this repository contains the full copyright notices and license terms. -->
</record>
<record model="ir.rule" id="rule_galatea_user">
<field name="domain"
eval="[('websites.company', '=', Eval('user', {}).get('company', None))]"
eval="[('websites.company', 'in', Eval('user', {}).get('main_companies', None))]"
pyson="1"/>
<field name="rule_group" ref="rule_group_galatea_user"/>
</record>