← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello,

Thanks for reporting !

The fix has been merged @ trunk client with some improvements @
revision-info 1983 nch@xxxxxxxxxxx-20111020070815-72ik8al1lfae1wod


Thanks,

** Changed in: openobject-client
       Status: New => Fix Released

** Also affects: openobject-client/6.0
   Importance: Undecided
       Status: New

** Also affects: openobject-client/trunk
   Importance: Undecided
       Status: Fix Released

** Changed in: openobject-client/6.0
       Status: New => Confirmed

** Changed in: openobject-client/trunk
   Importance: Undecided => Medium

** Changed in: openobject-client/trunk
     Assignee: (unassigned) => OpenERP sa GTK client R&D (openerp-dev-gtk)

** Changed in: openobject-client/6.0
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
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:
  Confirmed
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


References