Domanda

With the admin user I can do everything, add, delete, modify, etc. As it should be.

Then using this user added a new one, with full access to sales and accounting options as some other ones needed for sales operations. Then tried to add a new supplier and it throws a warning:

Access Denied
The requested operation cannot be completed due to security restrictions.
Please contact your system administrator.
(Document type: Pricelist, Operation: read)

Tested all the possible combinations on user rights and ended up giving full access to all options. Nevertheless I'm unable to create any new contact/customer/supplier/etc with this user. I'm running out of options, I don't know what else to test or where to look.

EDIT

Got an answer on the brand new OpenERP discussion site recommending to uncheck the Portal user rights for the user. Uncheking it partially worked. The warning still appears but when I click OK, fill the supplier and save, the new supplier is added without errors. Any recommendation?

È stato utile?

Soluzione 2

Is a reported bug that seems to be related to multi-company option selection and user rights.

Go to multi company Access Denied Document type: Partner, Operation: read where the bug was reported and is followed up by other users. Hope a patch is created soon.

Altri suggerimenti

I really think that's not a bug.

it's a conflict of "Rights" (in Access rules and ACL).

A "Portal or Anonymous" user, is an external user (from the company) and have only some limited rights for accessing some public informations or it can be an exteranl partner which can access his private documents and informations related to his relation with this company.

A normal OpenERP user (a company employee with some or all rights "let's call it an internal user") can't be and should not be in the same time a "Portal or Anonymous" user (with very limited rights), and vice-versa.

Just uncheck these two options for an internal OpenERP user.

I agree, I don't think that's a bug. I got that error with a user when I created an employee linked to this user. You have to be at least an employee from the society to add a new client.

Link to create a new employee :

http://yoururl:PORT/?ts=1369948181483#view_type=kanban&model=hr.employee&menu_id=273&action=328

I got the error when I granted Portal rights to a contact/customer, then when a Quotation is sent (testing), opeing the Quotation yields the error message:

Access Denied

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: Partner, Operation: read)

However, clicking OK, can get past it and proceed to pay. This is a major ongoing sort of issue with OPENERP. It should be fixed by now...

I just faced a similar problem, may solution was to add a record rule for the Administration / Settings group, here is how:

1- Go to Settings->Groups and select Administration / Settings. (Make sure this group is assigned to de new user)

2- Click the Edit button and go to the Rules tab. (It should be empty)

3- Click the Add button, this action open a modal window, click the Create button on it.

4- Give the new rule a semantic name - e.g. Partner: administration settings: see all - and make sure all the access rights are selected.

5- In the object drop down type res.partner, it will allow you to select the object named Partner referenced in the error.

6- Click the Add button in the Groups section and select the Administration / Settings group.

7- Finally click the Save & Close button and save the group changes by clicking the Save button.

Hope this is helpful for beginners in OpenERP. Actually I already have used this solution patter more than once for similar error related to permissions a given user was expected to have.

Its a rules issue. Deactivate the rule Product Template . Rules overrule access writes setup under the user setup. So it looks like users have identical access but these rules bypass your customisations.

i think you should active developer mode, and go to setting/user -> select the user have this error. Then click edit and uncheck public in "Other Extra Rights" section. After that, click save.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top