summaryrefslogtreecommitdiff
path: root/addons/l10n_do
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2018-04-25 13:53:37 +0200
committerMartin Geubelle <mge@odoo.com>2018-04-25 16:54:43 +0200
commitc0809dd41d9866c072822b36eae6b57cbc918cc9 (patch)
tree8aed076609f80386927ec7218324b07479228eca /addons/l10n_do
parentfd53539f8e10d5b450e0b9f585b922cc03c1146e (diff)
[FIX] web: reload progressbar values after archiving records
Before this, the progressbar values were not updated (both count and progress) after archiving all the records of a column. Multiple things have been done here to update it. Firstly, a optimization had been done to avoid reloading the progressbar when updating a column ; this optimization was not correct due to this precise use case. This will update the progressbar. Secondly, the `aggregateValues` are reset when putting empty groups back in the datapoint. This attribute is used to compute the counter if a `sum_field` is set on the progressbar widget. It needs to be reset because the loop that computes it won't iterate on empty groups. Eventually, the mockRPC of the progressbar route was not taking the `group_by` argument into account (probably a typo).
Diffstat (limited to 'addons/l10n_do')
0 files changed, 0 insertions, 0 deletions