[FIX] kanban: format aggregates values to float to avoid too long numbers in kanban column
bzr revid: mat@openerp.com-20140113172623-yuqjbhcsdxjq82rw
This commit is contained in:
@@ -577,7 +577,7 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({
|
||||
} catch(e) {}
|
||||
}
|
||||
_.each(this.view.aggregates, function(value, key) {
|
||||
self.aggregates[value] = group.get('aggregates')[key];
|
||||
self.aggregates[value] = instance.web.format_value(group.get('aggregates')[key], {type: 'float'});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user