← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 748927] Re: multicompany - inconsistent security rule definitions

 

Hello,
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-748927-rpa,
revno: 4621
revision-id: rpa@xxxxxxxxxxx-20110404124601-3arpj6rlnxrt00i4
it will be available in trunk soon.
Thanks for reporting,

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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/748927

Title:
  multicompany - inconsistent security rule definitions

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  IMHO either
  ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)]
  or 
  ['|','|',('company_id','child_of',[user.company_id.id]),('company_id','=',False),('company_id.child_ids','child_of',[user.company_id.id])]

  must  be correct and be used everywhere.

  It seems strange that pruchase and sale order have different company
  access rules



References