Odoo Aide


7 Réponses
Binh Nguyen Xuan Vietnam
17/07/2014 01:15

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 :)

Eric États Unis
08/01/2014 14:45

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

Rakesh Namdev Inde
26/04/2017 01:40

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 Commentaires
Ramashish États Unis
28/01/2018 02:51

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

Poser une question
Keep Informed
4 Abonné(e)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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now