openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #03013
[Bug 1270207] Re: Multi company not functional in ocb
Hello Stefan,
Taking admin_second out of Portal indeed solves the problem.
What an incredibly dangerous option this this Portal group turns out to
be!
Especially since you can place the normal admin (=SUPERUSER_ID) withouth
any problem in this group, as the crucial testing of record_rules is cut
short for this user.
Thanx very much for solving this!
Ronald
** Changed in: ocb-server/7.0
Status: New => Invalid
--
You received this bug notification because you are a member of OpenERP
Community Backports Team, which is subscribed to OpenERP Community
Backports (Server).
https://bugs.launchpad.net/bugs/1270207
Title:
Multi company not functional in ocb
Status in OpenERP Community Backports (Server):
Invalid
Status in OpenERP Community Backports (Server) 7.0 series:
Invalid
Bug description:
I try to setup multicompany in ocb (server/addons/web all very recent,
no other community modules installed or even in the addons path).
First I install sale, purchase and warehouse with demodata. I grant
admin all authorities. Then I create a second company. grant admin
access to the second company. Then copy the admin user to admin_second
with all the same authorities, except limited to the second company. I
also remove the company from one customer, and from one supplier.
If I login as admin_second:
I can NOT see any customer
I can NOT see any supplier
I can NOT create a chart of accounts for the second company.
If I then login as admin again and create a chart of accounts for the second company, then login as admin_second again:
I can NOT create a supplier
I can NOT create a customer
I can NOT create a normal contact, that is neither a company, a supplier or a customer
In all three attempts above I get the message that I am not allowed to
read Document type Partner.
In effect multicompany has been rendered useless on ocb.
I a reversal of the usual state of affairs, the problem does not occur
on the standard openobject branches.
I still have no idea about what might be the cause for these problems.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-server/+bug/1270207/+subscriptions
References