Tryton 7.0: ir.rule: Eval('user', ...) --> Eval('user_id', -1)
This commit is contained in:
parent
fbdc68c642
commit
7062399319
6 changed files with 33 additions and 4 deletions
|
@ -96,7 +96,7 @@ full copyright notices and license terms. -->
|
|||
</record>
|
||||
<record model="ir.rule" id="rg_recon_write-1">
|
||||
<field name="domain" eval="['OR',
|
||||
('cashbook.owner.id', '=', Eval('user', {}).get('id', -1)),
|
||||
('cashbook.owner.id', '=', Eval('user_id', -1)),
|
||||
('cashbook.reviewer.id', 'in', Eval('groups', [])),
|
||||
]" pyson="1"/>
|
||||
<field name="rule_group" ref="rg_recon_write"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue