From 5d13a2f431e1c96e075b04d0eb07d98b912a6547 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 17 Apr 2018 11:22:45 +0200 Subject: [PATCH] [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 --- addons/web/static/src/js/views/list_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]}; - $('') + $('') .html(column.format(r, {process_modifiers: false})) .appendTo($row); } else {