This is a bit off-topic, but we have reverted the change that was introduced a bit before the 6.0 release where the multi-company rules where extended to allow seeing also records from ancestor companies, not just descendant ones. This is the behavior of the rule that you are quoting in your bug description. It was reverted here: - 6.0: 4435 [email protected] - trunk: 4463 [email protected]
As for your specific use case, note that using this kind of domain on the res.company object makes no sense, as the left operand 'company_id' relies on a 'company_id' field, which does not exist when the record _is_ a company. -- 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. _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

