跳至内容
菜单
此问题已终结
1340 查看

Hello,

I'm currently working on Odoo V10 and I'm trying to set up a rule that allows a specific group to only view invoices created by users in that group. I have already created the group and users have been assigned to this group. Then I've created this rule and in the domain I've specified :

[('user_group_id', '=', user.group_id.id)]


With this rule, only invoices created by the user in the specified group should be displayed. Unfortunately, it doesn't seem to be working. While restricting invoice by user is working ([('user_id', '=', user.id)])


Could you please provide guidance on how to achieve this? Any help would be greatly appreciated.

Thank you.



形象
丢弃
相关帖文 回复 查看 活动
1
2月 16
3365
0
3月 15
4385
0
3月 15
3379
0
3月 15
3467
0
10月 19
5827