← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 802958] [NEW] company rule. Companies availables, not childreen

 

Public bug reported:

For default, companie rules are:

[('id','child_of',[user.company_id.id])]

This rule only change others companies childreen. But, what happen when
you are at children company? You do not change parent company or another
company childreen.

This rule is better because you can change another company (childreen or
not childreen) availables for user:

['|',('id','in',[x.id for x in
user.company_ids]),('id','child_of',[user.company_id.id])]

** Affects: openobject-server
     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/802958

Title:
  company rule. Companies availables, not childreen

Status in OpenERP Server:
  New

Bug description:
  For default, companie rules are:

  [('id','child_of',[user.company_id.id])]

  This rule only change others companies childreen. But, what happen
  when you are at children company? You do not change parent company or
  another company childreen.

  This rule is better because you can change another company (childreen
  or not childreen) availables for user:

  ['|',('id','in',[x.id for x in
  user.company_ids]),('id','child_of',[user.company_id.id])]

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/802958/+subscriptions


Follow ups

References