** Changed in: openobject-client
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/785677

Title:
  Can not create several group_by filters on the same field(s)

Status in OpenERP GTK Client:
  In Progress

Bug description:
  Tried creating two filters applying a group_by involving similar
  fields (one group_by had a single field, one had two).

  In the GTK client, the filters don't behave correctly: the grouping by
  of the common field is only available on one of the filters, not both.

  Provided file is a test case with demo data:
  * Unpack and put in addons directory
  * Create new database (addon is marked as active currently, so it will 
automatically install no need to install manually)
  * Open "ListView Testing Module" > "Open list"

  Here, you can see three filters in a "group by" group. They all have a 
group_by context with the following values, respectively:
  * {'group_by': ['someval', 'category']}
  * {'group_by': 'category'}
  * {'group_by': 'someval'}

  So the first filter should group by someval and category, the second
  filter should group by category and the third filter should group by
  someval.

  The failure modes are variable and I have not yet managed to understand which 
circumstances caused failure (it does not seem to match the order of the 
filters in the view, might be linked to the iteration order for some 
dictionary), currently on my machine:
  * The first filter only groups on the someval field (category missing)
  * The second filter correctly groups on category
  * The third filter does not do anything

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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to