Odoo Help

Welcome!

This community 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.

6

Access rights doubt in openerp?

By
Remya
on 12/6/13, 6:04 AM 3,267 views

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?

image description

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

image description

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?

2

Grover Menacho

--Grover Menacho--
2523
| 5 7 8
La Paz, Bolivia
--Grover Menacho--

Systems Engineer + MBA

Grover Menacho
On 4/29/14, 2:34 PM

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:

Settings>Technical>Security>Record Rules

Multi-company is so buggy in OpenERP. The only way I have ever gotten this to work is remove the rule. On each and every instance I install OpenERP it will not work unless I remove this rule. Even giving the parent company (which is not ideal) to the user does not allow this to work.

Elephante, Sean Samborski
on 9/25/14, 7:06 PM
0

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 4/29/14, 2:14 PM

Under Users Configuration, verify the following access rights for the user1:

Multi Company (Usability)

Manage Multiple Locations and Warehouses (Technical Settings)

And the Allowed Companies

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 12/6/13, 6:04 AM
Seen: 3267 times
Last updated: 3/16/15, 8:10 AM