Thanks for coming back on this Niels.

It has been fixed for trunk and has been set as released for it.

The bug still happens on 6.0 and not fixed yet.

For the fix, you can see the merge proposal attached.

Hope this helps.

Thanks,
Serpent Consulting Services.

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

Title:
  [6.0/trunk] GTK  :  Group By on Boolean Field doesn't work!

Status in OpenERP GTK Client:
  Fix Released
Status in OpenERP GTK Client 6.0 series:
  Fix Committed
Status in OpenERP GTK Client trunk series:
  Fix Released

Bug description:
  When you have a boolean field and you wish to apply groupby on it, it
  doesn't work.

  The logical impact should be : 2 sets of records, one with TRUE and
  another with FALSE.

  With current code, the symbol on top level record seems always to be
  TRUE.

  As a matter of the fact, its due to the code which manipulates the
  values to be bool(value) everytime whereas the result of group by may
  return False as (False(3)) where 3 is the no. of records.

  But system understands bool(False(3)) as True because the evaluator is
  a string.

  Please find the attached branches(for 6.0 and trunk) which fixes the
  issue.

  As an example : One can test with 'Group by Customer' on Partner
  Model.

  Thanks,
  Serpent Consulting Services.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/876619/+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