Skip to Content
Menu
This question has been flagged
3 Replies
1145 Views

Hello, 

We have a multi-company database and when performing some tasks we receive an error that we are unable to do it because of permissions however if I turn off user rules it will allow me to do it. However, I do not know what the ramifications of turning off this record rule will do? I am in version 12 enterprise. 

Avatar
Discard

Hi,

what tasks do you intend to perform? Are always the same tasks the ones which give this error?

Author Best Answer

Hello,

I have admin permissions, but I am not the admin. If I log in as Admin I have no issues with this. 

I know that under Record Rules - User rule, if I turn it off it, will allow me to do the below action however I do not understand enough about Record Rules to know if I will break something else in the system. 

The error we get is different based on what we are trying to do. Here is an example of the current one. PO123 we ordered 21 pieces of a product. We received in 10 pieces and that is all we will be getting. What I want to do is edit the po123 change the ordered quantity to 10 then save. However, I am unable to do that because I get the following error The requested operation cannot be completed due to security restrictions. Please contact your system administrator.


(Document type: Users, Operation: read) - (Records: [8, 1, 33], User: 8)


 
NEW*** I have the same permissions in both companies. 

Avatar
Discard

In the PO scenario, are you trying to modify it after validation?

Author

Hi J Lleo,

Yes the PO has been confirmed and some of the product has been received into the system. We have no problem doing this same process in the other company 1, however, company 2 gives us this error message. I get the same error message when I try to do it in Company 2 and I have admin permissions.

Author

I only have the follwoing

Name: res.partner.rule.private.employee Apply for Read

Name: res.partner.rule.private.group Apply for Read

Name: res_partner: portal/public: read access on my commercial partner Apply for Read.

What happens when your turn off a record rule? Does it affect anything in the system negatively?

Best Answer

Hi,

Be sure the user is under the right company and has purchases access and permissions granted.

Edited: you can also have a look at the access rules under

Settings > Technical > Security > Record Rules , looking for the res.partner object.

Hope it helps

Avatar
Discard