Odoo Help

0

1
7 Answers
1
Binh Nguyen Xuan
7/17/14, 1:15 AM

In my case, this error was raised by: def check_field_access_rights

This is use guide:

"""
        Check the user access rights on the given fields. This raises Access
        Denied if the user does not have the rights. Otherwise it returns the
        fields (as is if the fields is not falsy, or the readable/writable
        fields if fields is falsy)

 """

Now I check in server log:

WARNING ********* openerp.osv.orm: Access Denied by ACLs for operation: read, uid: 265, model: product.product, fields: standard_price
ERROR:openerp.netsvc:Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: Product, Operation: read)

Reason why I faced this issue because field standard_price was set in group base.group_user and user which logged not belong to this group. Now I can add new group for this field or add group_user to current user.

Hope that help :)

1
Eric
1/8/14, 2:45 PM

I had this problem when I was trying to create a timesheet for my user. Apparently my user acct belonged to a group that did not have Read access to the Products. I removed myself from this group and was then able to create a timesheet for my user. This is what I did to find out which groups my user belonged to:

Step 1: Open pgAdmin and open up the SQL query editor

Step 2: Type: select "gid" from "res_groups_users_rel" where "uid" = '(your user id)'

Step 3: When you get a list of all the group ids that your user id belongs to, then you can find the group names from the ids that were returned in the res_groups table

Step 4: Now you can add the Read access to the groups your user belongs to on the Products table, or you can remove your user from the group that does not have Read access to the Products table.

In my situation, my user acct belonged to a group that did not need Read access to the Products table so instead of granting Read access to that group, I just removed my user acct from that group and then my error was cleared

-1
Rakesh Namdev
4/26/17, 1:40 AM

I had problem when I was trying to create a product in case of we have child company and user created for this company.
when click on product then error massage comes :

(Document type: res.company, Operation: read) in inventory module

(Document type: res.company, Operation: read) in Sales module


1 Comment
Ramashish
1/28/18, 2:51 AM

Could you please post how could you resolve this? Multiple Companies give access denine error on when user confirms quotation on second company

Ask a Question
Writer
Keep Informed
4 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now