← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

If you are this structure:
Company A
Company A / Company A1
Company A / Companya A2
Company B
Company C
Company C / Company C1
Company C / Company C2

If you are in to Company C, and you change to Company C1 (childreen),
after you don't change to Company C or Company C2 (another childreen)
because you are into Company C1 and this company don't have more
children.

This default rules only you can childreen company. How to change parent
company or another childreen company? You do not!

Please, test it and don't make invalid status.

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