Permissions users multicompany
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
1) Steps to reproduce the issue you have observed
You can create 2 sister companies (companyA, companyB), and 2 users (user1 and user2),
The user1 have the companyA, and user2 have companyA and companyB.
The user1 add as follower in a purchase_order to user2, and when the user2 have at present the companyA can view the purchase, but if the user2 change you company to companyB, this already can't view the purchase, by permissions.
Can find a demonstrative video here:: http://
2) The result you expected:
As the user2 is multicompany, i find that with the two company he can view the documents
3) I use Ubuntu 12.4
OpenERP -.-
Server revno: ---- 5045
addons revno: ---- 9335
web addons revno: ---- 4005
Related branches
- Nhomar - Vauxoo (community): Needs Information
- Jorge Angel Naranjo Rogel - http://www.vauxoo.com (community): Needs Resubmitting
- Olivier Dony (Odoo): Pending requested
- OpenERP R&D Team: Pending requested
- Moisés López - http://www.vauxoo.com: Pending requested
-
Diff: 181 lines (+150/-1)4 files modifiedproject/__openerp__.py (+5/-1)
project/demo/task_multicompany_demo.yml (+87/-0)
project/test/task_mail_multicompany_test.yml (+23/-0)
project/test/task_multicompany_user_test.yml (+35/-0)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Hello
The branch attached test the Error with the ACL consulted in the bug to understand what is the problem.
The branch is not pretending solve it just test it automatically when the patch is provided.