← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

> what version of OpenERP are you using?

6.0.2. RC1 to 6.0.2, are changed this rules (I don't review what version
changed this rule).

Companies availabes to user we think are defined into User/Companies
field and it is this section where you define companies
availables/access user to change.

Example company tree of another post is a nice example if you have
childreen company: don't change another company. It's simple.

-- 
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:
  Invalid

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


References