Public bug reported:
Hi!
This bug is not extremely important, but yet it is a bit annoying.
Sometimes, grouping numerical values with a pre-defined sql function
(sum, count, min, max, avg...) when a "group by" is selected does not
have much sense. That is why I used to define my own aggregate function
(called "empty") in Postgre which always returns the empty string. Then,
I used the group_operator="empty" attribute in the definition of the
field under concern.
In the previous web client it works fine, no value is displayed. In the
new web client, "0" is displayed (I guess for type reasons).
** Affects: openerp-web
Importance: Undecided
Status: New
** Description changed:
Hi!
This bug is not extremely important, but yet it is a bit annoying.
Sometimes, grouping numerical values with a pre-defined sql function
(sum, count, min, max, avg...) when a "group by" is selected does not
have much sense. That is why I used to define my own aggregate function
(called "empty") in Postgre which always returns the empty string. Then,
I used the group_operator="empty" attribute in the definition of the
field under concern.
In the previous web client it works fine, no value is displayed. In the
new web client, "0" is displayed (I guess for type reasons).
-
- Cheers!
--
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/899204
Title:
Aggregate function of a group_by
Status in OpenERP Web:
New
Bug description:
Hi!
This bug is not extremely important, but yet it is a bit annoying.
Sometimes, grouping numerical values with a pre-defined sql function
(sum, count, min, max, avg...) when a "group by" is selected does not
have much sense. That is why I used to define my own aggregate
function (called "empty") in Postgre which always returns the empty
string. Then, I used the group_operator="empty" attribute in the
definition of the field under concern.
In the previous web client it works fine, no value is displayed. In
the new web client, "0" is displayed (I guess for type reasons).
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/899204/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp