From fbd53c418eed6ae5acca67d8c641bb7e9965a087 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 24 Oct 2012 11:25:42 +0200 Subject: [PATCH] [IMP] view_form: suppress wrong console.log bzr revid: chm@openerp.com-20121024092542-q9aogx9sefb65jr1 --- addons/web/static/src/js/view_form.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 71552dfca0a..0d28bd410fc 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -3472,7 +3472,6 @@ instance.web.form.FieldOne2Many = instance.web.form.AbstractField.extend({ }, get_value: function() { var self = this; - console.log("get_value one2many"); if (!this.dataset) return []; this.save_any_view(); @@ -3488,11 +3487,6 @@ instance.web.form.FieldOne2Many = instance.web.form.AbstractField.extend({ } return commands.link_to(id); })); - - console.log( val.concat(_.map( - this.dataset.to_delete, function(x) { - return commands['delete'](x.id);})) ); - return val.concat(_.map( this.dataset.to_delete, function(x) { return commands['delete'](x.id);}));