I have created two sub companies under main company. Two users each in two company. I gave manager privilege to user1 in company1. When i created sales order from company1 using user1, it shows below error
Access Denied The requested operation cannot be completed due to security restrictions. Please contact your system administrator. (Document type: Warehouse, Operation: read)
I know how to give access privilege to the users.
But my doubt is Sales manager&Warehouse manager has all access privilege. Then why should this message shows?
But user1 is belongs to employee group. This group only has read permission. Will this affect?
Also my another doubt::: for example if a user belongs to more than one group, in one group he has all permission to access res.partner object but another groups user only has read permission. How will it affect to the user? Did he has all the access to res.partner or not?
For example : Location : stock.location in this model i gave all privilege to sales/manager & warehouse manager. He is in the sub company under parent company. I set different shop,warehouse location to the sub company. When i create sale order & select product it shows below error
How to solve this? The user i login is both present in sales/manager & warehouse manager. I give all permission access to the location. Did i want to add anything extra for getting the access?
You've to assign the parent company to your user. This rule says that:
Name: Location multi-company Object: Location Rule: ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
So, you've to give the main company to the user, or, you've to remove or change the rule:
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/6/13, 6:04 AM|
|Seen: 3271 times|
|Last updated: 3/16/15, 8:10 AM|