[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
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user