Se rendre au contenu
Menu
Cette question a été signalée
1351 Vues

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.



Avatar
Ignorer
Publications associées Réponses Vues Activité
1
févr. 16
3368
0
mars 15
4395
0
mars 15
3386
0
mars 15
3468
0
oct. 19
5833