[FIX] web_kanban: float_time widget did not work

`instance` was undefined in this context, probably
following a forward-port mistake
This commit is contained in:
Thibault Francois
2016-02-26 18:56:49 +01:00
committed by Olivier Dony
parent 602f3423c1
commit 4c1c1ec4d4
@@ -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));
}
});