Replace main_companies to companies

This commit is contained in:
Raimon Esteve 2022-05-09 16:30:43 +02:00
parent 60fb73b261
commit af296b54f3
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', 'in', Eval('user', {}).get('main_companies', None))]"
eval="[('websites.company', 'in', Eval('companies', []))]"
pyson="1"/>
<field name="rule_group" ref="rule_group_galatea_user"/>
</record>