[FIX] only aggregate columns explicitly asking for aggregation ...
authorXavier Morel <xmo@openerp.com>
Mon, 14 Nov 2011 08:18:53 +0000 (09:18 +0100)
committerXavier Morel <xmo@openerp.com>
Mon, 14 Nov 2011 08:18:53 +0000 (09:18 +0100)
commit194cc51b2222de759556f75d017c5df41a36e5bd
tree756b61a3ba85fbd974c1353cb7dfae664f5cca22
parent737f5db54ebc0a75dcc65b3b73117105a7b8651f
[FIX] only aggregate columns explicitly asking for aggregation                                                                                                ~/projects/tiny/web/current

Instead of relying only on the column's group_operator, ensure the
view itself asks for the aggregation function (by checking if the
corresponding field attribute is set).

If the @group_operator function is not set on the field (even without
a label, it just has to be *there* so `<field sum=""/>` would work),
do not aggregate the column at all.

bzr revid: xmo@openerp.com-20111114081853-a9ja0zdaxk2261nd
addons/web/static/src/js/view_list.js