Hello,
I am wondering is it possible to trigger rule only if user is in two groups. Field "groups" can have many groups, but this rule works if I am in at least one of them. I want that it will work only if I am in ALL groups.
Below is example of code that not works as I want.
<record id="my_special_rule" model="ir.rule">
...
<field name="groups" eval="[(4, ref('my_module.group1')), (4, ref('my_module.group2'))]"/>
...
</record>