Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
We are working with OpenERP 7.0 on a multi-company environment and we have a problem when a user
who has access to several companies (C1, C2, C3). at the time of placing an order sales in company
C1, in the commercial field (USER_ID) only have access / visibility for users of the company C1.
We have created users like:
User1 -> Company Default C1 -> Companies allowed (C1, C2, C3)
User2 -> Company default C2 -> Companies allowed (C1, C2)
User3 -> Company default C2 -> Companies allowed (C1, C2)
User4 -> Company Default C1 -> Companies allowed (C1, C2, C3)
When, for example, User4 place Order for the company C1, in field user_id only shows the same user
and User1. We understand that the system should show the 4 users?
Thank you very much everyone.
First, I'm not sure what do you mean by Company Default. The standard res.users in Odoo only have company_id field which is (quoting from the field's help) "The company this user is currently working for". This is the field that will be changed if the user go into Preferences menu and change the Company.
Second, it is not clear what do you mean by users of Company C1. If you are referring to the res.users that has company_id field set to Company 1, then the number will change according to which company the users is last logged into. The best bet, AFAIK, is to search for all users that have access to Company C1 (via company_ids or the Companies allowed for the user) and create a domain for USER_ID field based on that.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/3/14, 8:45 AM|
|Seen: 1247 times|
|Last updated: 3/16/15, 8:10 AM|