[FIX] web_kanban: float_time widget did not work

* This is a forward-port of 4c1c1ec4d4
This commit is contained in:
Tanguy Charlier
2016-03-18 11:18:29 +01:00
parent 43c42b304d
commit 2f8c99d412
@@ -54,7 +54,7 @@ var FormatChar = AbstractField.extend({
this.format_descriptor = _.extend({}, this.field, {'widget': this.$node.attr('widget')});
},
renderElement: function() {
this.$el.text(instance.web.format_value(this.field.raw_value, this.format_descriptor));
this.$el.text(formats.format_value(this.field.raw_value, this.format_descriptor));
}
});