[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:
Martin Trigaux
2014-01-13 18:26:23 +01:00
parent bfe20de386
commit c2da410014
+1 -1
View File
@@ -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'});
});
}