[FIX] OPW 598942 : orm read_group doesn't take referenced fields or aggregated fields in account when sorting
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).
[FIX] typo, wrong ordering of lines
[FIX] getParent() js error when clicking to fast on menu items that load a list view after loading a form view
[IMP] Speed and quality improvement
  - removing the need of the use of search when groupby is set on a relation
    field.
  - creation and use of dedicated helper method to compute the orderby clause
    for easier reading
[REF] removing debug code
[FIX] OPW 598942 : orm read_group doesn't take referenced fields or aggregated fields in account when sorting
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).
Launchpad automatic translations update.
Launchpad automatic translations update.
[REF] removing useless comment
[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).
[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).
[IMP] data: skip read_ids call when got no id (opw 604099).

This avoids making useless calls to to read the values of o2m fields when the read on a record already told us there was no ids.
[IMP] data: skip read_ids call when got no id (opw 604099).

This avoids making useless calls to to read the values of o2m fields when the read on a record already told us there was no ids.
[MERGE] [FIX] view_list: avoids getParent() js error when clicking to fast on menu items that load a list view after loading a form view
[MERGE] [FIX] view_list: avoids getParent() js error when clicking to fast on menu items that load a list view after loading a form view
Merge branch 'ocb-server/7.0' into demo-ocb/7.0
Merge branch 'ocb-addons/7.0' into demo-ocb/7.0
Merge branch 'ocb-web/7.0' into demo-ocb/7.0