Skip to Content
Menu
This question has been flagged
2 Replies
1547 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.


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

Why we use Rules in odoo: https://goo.gl/4jAhtH

Best Answer

I wouldn't want to say that switching off all Record Rules would be OK, but some can be switched off without causing any problems in the system.

One example in Odoo 12 is that you can decide (in Settings) whether you want to share products and contacts across companies, which activates or de-activate Record Rules.

But if you switch off a Record Rule it will apply to all users, so it may be safer to create another Record Rule that applies to selected users (e.g. Administrators) to override the restrictions. 

Maybe this can give you more information: https://odootricks.tips/record-rules/ 

Avatar
Discard