Ir al contenido
Menú
Se marcó esta pregunta
1330 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
feb 16
3353
0
mar 15
4385
0
mar 15
3377
0
mar 15
3461
0
oct 19
5827