Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1349 Lượt xem

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.



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 16
3368
0
thg 3 15
4392
0
thg 3 15
3386
0
thg 3 15
3468
0
thg 10 19
5833