跳至内容
菜单
此问题已终结
2 回复
1125 查看

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.

形象
丢弃
最佳答案
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)]


形象
丢弃
编写者

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

最佳答案

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.

形象
丢弃
编写者

Thanks Ian.

相关帖文 回复 查看 活动
0
4月 25
1579
1
3月 25
1785
1
3月 25
162
1
12月 24
1513
0
8月 23
1502