[FIX] kanban: format aggregates values to float to avoid too long numbers in kanban column (not roudned value)
bzr revid: mat@openerp.com-20140117101943-v7kz6pkxyv4dfvlk
This commit is contained in:
@@ -538,7 +538,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