c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #18198
[Bug 720175] Re: Multicompany - all companies are selectable for users with restricted company access
Ferdinand, Jay,
We are working on letting the rule
[('id','child_of',[user.company_id.id])] on res_company work as
expected. The recursive behavior has already been removed. We have still
concerns about the impact of the change and we are working to find if
anything else could break. The changes are being made at the branch
https://code.launchpad.net/~openerp-dev/openobject-server/6.0-bug-719406
-empty-record-rules-vmt/+merge/51522
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/720175
Title:
Multicompany - all companies are selectable for users with restricted
company access
Status in OpenERP Server:
Confirmed
Bug description:
a user has only access rights to one company, but all companies show
up in all select fields for companies (because no access rul is set
for res_company)
I tried to copy the usual
['|','|',('company_id','=',False),('company_id','child_of',[user.company_id.id]),('company_id.child_ids','child_of',[user.company_id.id])]
but this gives an error.
References