← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

This rule is consistent with the second rule, no need to change this
rule

** Changed in: openobject-addons
       Status: Triaged => 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