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

Hello,

in odoo 17

How do I prevent the user from modifying any information on the product card,

 only he can access the product card and read the information without any modification to it, read-only. 

( product.product, product.templet)

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

Thank you for your help us.

I have done all these settings, but when the user presses( on hand), on product card this message appears.

"Access Error

You are not allowed to modify 'Product Variant' (product.product) records.This operation is allowed for the following groups:

- Accounting/Accountant

- Administration/Settings

- Expenses/Administrator

- Inventory/Administrator

- Point of Sale/Administrator

- Purchase/Administrator

- Sales/Administrator

Contact your administrator to request access if necessary."


and does not disappear unless I give the user read and Write permissions. I want the user to be able to read the information on the (on hand) icon with read permission only, so they do not change any information on the product card.

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

Hi,

To restrict modification access to the 'product.product' and 'product.template' models for a user, follow these steps:

Turn on the developer mode: Settings -> Technical -> Access Rights ->

Disable the access to CREATE, WRITE, and DELETE in  'product.product employee' and 'product.template.user'.


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 19
2691
2
thg 8 25
532
1
thg 6 25
1077
1
thg 7 24
980
0
thg 5 24
1365