diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 2819be453fb..d4c4158056a 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -4892,16 +4892,11 @@ instance.web.form.FieldOne2ManyBinaryMultiFiles = instance.web.form.AbstractFiel this.ds_file = new instance.web.DataSetSearch(this, 'ir.attachment'); this.fileupload_id = _.uniqueId('oe_fileupload_temp'); $(window).on(this.fileupload_id, _.bind(this.on_file_loaded, this)); - - this.list_file = false; }, start: function() { this._super(this); this.$el.on('change', 'input.oe_form_binary_file', this.on_file_change ); }, - set_value: function(value_) { - this._super( value_ ); - }, get_value: function() { return _.map(this.get('value'), function (value) { return commands.link_to( value.id ); }); },