diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-04-17 11:22:45 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-04-17 13:37:24 +0200 |
| commit | 5d13a2f431e1c96e075b04d0eb07d98b912a6547 (patch) | |
| tree | e99508bc40476a5a06199acb392d417ae946a457 /addons/web/static/src | |
| parent | 1777646d1ecd1325d4bfc5bdac5598efda8003f5 (diff) | |
[FIX] web: properly right-align numbers in grouped list views' rows
The 'oe_number' class was replaced by 'o_list_number' but this was not
properly done for grouped list views. As a fix, the new class is added
on top of the old one to not break potential customizations.
Proper fix will be done in master.
See https://github.com/odoo/enterprise/commit/a2ce226a2a085b26174cdfd32922517dff39658c
Closes https://github.com/odoo/odoo/pull/23966
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/views/list_view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/list_view.js b/addons/web/static/src/js/views/list_view.js index dddc2b1bcf3..ad07227aec4 100644 --- a/addons/web/static/src/js/views/list_view.js +++ b/addons/web/static/src/js/views/list_view.js @@ -1431,7 +1431,7 @@ ListView.Groups = Class.extend({ } else if (column.id in group.aggregates) { var r = {}; r[column.id] = {value: group.aggregates[column.id]}; - $('<td class="oe_number">') + $('<td class="oe_number o_list_number">') .html(column.format(r, {process_modifiers: false})) .appendTo($row); } else { |
