~dle-credativ/openerp-web/rebase-commit

Viewing all changes in revision 1451.

  • Committer: Xavier Morel
  • Date: 2011-11-14 08:18:53 UTC
  • Revision ID: xmo@openerp.com-20111114081853-a9ja0zdaxk2261nd
[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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: