From 3e5cd44727f99a5cbaf5726f7f28afbc0a3af919 Mon Sep 17 00:00:00 2001 From: sebalix Date: Thu, 5 Mar 2020 17:35:57 +0100 Subject: [PATCH] [FIX] binary_field: the log done in JS makes unusable some views if the field has no value defined --- binary_field/static/src/js/widget.js | 1 - 1 file changed, 1 deletion(-) diff --git a/binary_field/static/src/js/widget.js b/binary_field/static/src/js/widget.js index dc8a6586dff..31c5cdcd85a 100644 --- a/binary_field/static/src/js/widget.js +++ b/binary_field/static/src/js/widget.js @@ -50,7 +50,6 @@ openerp.binary_field = function (instance) { instance.web_kanban.KanbanRecord.include({ kanban_image: function(model, field, id, cache, options) { - console.log(this.record[field].value) if (this.record[field] && this.record[field].value && instance.web.form.is_url(this.record[field].value)