Vinay Rana (openerp) (vra-openerp) has assigned this bug to you for OpenERP GTK 
Client:

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

** Affects: openobject-client
     Importance: Medium
     Assignee: OpenERP sa GTK client R&D (openerp-dev-gtk)
         Status: Confirmed


** Tags: groupby listview
-- 
Can not create several group_by filters on the same field(s)
https://bugs.launchpad.net/bugs/785677
You received this bug notification because you are a member of OpenERP sa GTK 
client R&D, which is a bug assignee.

_______________________________________________
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