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

I Have a many2one field for product.product and there is only one group, If i click on man2one field i am getting the error as Document type: Product, Operation: read, If i enable the employee group then i am not getting any Error,

what is happening when a employee group is selected so that i can do the same thing for my customised group to achieve the solution

Ảnh đại diện
Huỷ bỏ
Tác giả

How to achieve the solution without selecting the employee group

i have the same problem when i click with a portal user on product

did you finally find a solution?

Câu trả lời hay nhất

Its happening becase Employee Group has indirectly inherited base.group_user Group and in product.product class (addons/product/product.py), we have a float field named standard_price with attribute groups="standard_price".

So, if you enable Employee Group, you will inherit base.group_user and allow access to this float field but if you do not, you won't which the ACL's dont like and throw Product, Operation: read Error.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
7
thg 12 23
23401
2
thg 7 23
2046
1
thg 8 25
273
2
thg 6 25
1730
0
thg 3 25
1603