← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 740799] Re: [filtering] does not support hierarchy

 

No this doesn't work.


You can see this easily if you define the following Partner Categories:

Man : parent category: none

Thick: parent category: Man

Thin: parent category: Man

Then create 2 partners and assign the category Man/Thick to one and
Man/Thin to the other.

Now if you filter on Thik, you get one parner.

When you filter on Thin you get one partner too

And when you filter on Man, you get zero (instead of two)

So the combination you propose does not work (but would work if
filtering on Man would return the 2 partners as expected).


Hope this helps.

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

Title:
  [filtering] does not support hierarchy

Status in OpenERP Server:
  Incomplete

Bug description:
  In v6, the filtering cannot be performed on "view"-type items in the
  category field of a partner for example. Consider the following case:

  Define partner categories as follows:

  man
  man->thin
  man->thick
  woman
  woman->thin
  woman->thick

  Now if you have a set of partners, you can define a filter on "thin",
  on "thick" but not on "man" or "woman" or "woman thick". This means
  that you cannot find back a thin woman in a filter for example.

  I believe this is an unwanted limitation of the filter mechanism.



References