FIX domain employee and commission agents

#072264
This commit is contained in:
Raimon Esteve 2022-11-29 13:19:36 +01:00
parent 77cee84711
commit 1edc5c2b02
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="global_p" eval="True"/>
</record>
<record model="ir.rule" id="rule_commission_agent_companies">
<field name="domain" eval="['OR', ('companies', 'in', Eval('companies', [])), ('companies', 'in', [])]" pyson="1"/>
<field name="domain" eval="['OR', ('company', 'in', Eval('companies', [])), ('company', 'in', [])]" pyson="1"/>
<field name="rule_group" ref="rule_group_commission_agent"/>
</record>
</data>

View File

@ -4,7 +4,7 @@ this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.action.act_window" id="company.act_employee_form">
<field name="domain" eval="['OR', ('companies', 'in', Eval('companies', [])), ('companies', 'in', [])]" pyson="1"/>
<field name="domain" eval="['OR', ('company', 'in', Eval('companies', [])), ('company', 'in', [])]" pyson="1"/>
</record>
</data>
</tryton>