~therp-nl/openobject-server/7.0-DBG-readonly_security_profile_on_stdout

Viewing all changes in revision 5237.

  • Committer: Martin Trigaux
  • Date: 2014-02-18 10:09:29 UTC
  • mfrom: (5236.1.2 7.0)
  • Revision ID: mat@openerp.com-20140218100929-qeg0rz1fmta2ni9y
[MERGE] [FIX] orm: read_group doesn't take referenced fields or aggregated fields in account when sorting (opw 598942)

Sorting was done using a search on ids that where found in a custom SQL field,
only 1 record among aggregated records with same groupby value was used
when using search for ordering, resulting data ordered on
max(aggregated_data).field_value instead of sum(aggregated_data.field_value).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: