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.