Skip to Content
Menú
This question has been flagged
2 Respostes
1098 Vistes

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.

Avatar
Descartar
Best Answer
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)]


Avatar
Descartar
Autor

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

Best Answer

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.

Avatar
Descartar
Autor

Thanks Ian.

Related Posts Respostes Vistes Activitat
0
d’abr. 25
1367
1
de març 25
1594
1
de març 25
162
1
de des. 24
1347
0
d’ag. 23
1330