Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1122 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 25
1523
1
มี.ค. 25
1750
1
มี.ค. 25
162
1
ธ.ค. 24
1487
0
ส.ค. 23
1466