← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 748927] [NEW] multicompany - inconsistent security rule definitions

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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):
  New

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



Follow ups

References