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

How can I set permissions in Odoo so that multiple sellers / representatives can only see their own orders / invoices and not each other's orders. And a sales manager must be able to see all orders / invoices and also be able to calculate the commission / bonus.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất
you just need to create record rule for particular module,i have created below record rule for sale order	See Only own sale Record		[('id', '=',user.id)]


Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks and I assume that I need the Studio App for this.

Câu trả lời hay nhất

Hi Rob, To edit the code as Shubham has highlighted doesn't necessarily require studio app, if you can access the odoo module source code from a code editor like pycharm then you can make the changes but am assuming that you don't have access, if not, you can try to edit the changes from Qweb though this is recommended as the changes may be lost after updating the module but it will serve you if you are looking to update the module in the near future.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks Ian.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 25
1678
1
thg 3 25
1833
1
thg 3 25
162
1
thg 12 24
1551
0
thg 8 23
1557