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

Subject: Restricting Salesperson Access to Invoice Details

Dear Team,

I have noticed that when adding an invoice to a customer and selecting a salesperson for that invoice, the salesperson is automatically added as a follower along with the customer.

In our model, the salesperson should not have access to details of the invoicing agreement, including pricing, discounts, and other sensitive information.

Could you clarify whether a salesperson assigned to an invoice has access to its details? If so, how can we restrict their access to this information?

Best regards,

odoo enterprise 18.0

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello

They cant see the details of the invoice if they dont have access rights for the accounting module

if they have access rights on the accounting module then you can customize what you want them to see using the record rules

I hope this helps

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you for your reply


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello, 


You can create a security rule to prevent sales reps from viewing invoices not intended for them


1 - Add a rule in Settings > Technical > Records Access Rules :

2- Name: Restrict Salesperson Access to Invoices

3- Object: account.move

4- Domain: [('move_type', '=', 'out_invoice'), ('user_id', '!=', user.id)]


Also you can search in OCA or Odoo Apps for a module for Odoo 18 like this one


https://apps.odoo.com/apps/modules/16.0/mail_restrict_follower_selection


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
1123
2
thg 7 25
1288
1
thg 7 25
2391
3
thg 4 25
3301
Delete PDF Invoice Đã xử lý
1
thg 3 25
2133