[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:
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));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user