From 02feed633831aa739bf6e4def54545ff797573a1 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 15 Jul 2011 14:08:56 +0200 Subject: [PATCH] [FIX] oops, forgot some logging bzr revid: xmo@openerp.com-20110715120856-ijpicqlyumrt69rh --- addons/base/static/src/js/search.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/addons/base/static/src/js/search.js b/addons/base/static/src/js/search.js index 8691e233a1a..d40913bd122 100644 --- a/addons/base/static/src/js/search.js +++ b/addons/base/static/src/js/search.js @@ -719,14 +719,12 @@ openerp.base.search.ManyToOneField = openerp.base.search.CharField.extend({ // TODO: .relation, .selection, .context, .domain init: function (view_section, field, view) { this._super(view_section, field, view); - console.log('m2o init', this.attrs.name); var self = this; this.got_name = $.Deferred().then(function () { self.$element.val(self.name); }); }, start: function () { - var self = this; this._super(); var started = $.Deferred(); this.got_name.then(function () { started.resolve();}, @@ -734,7 +732,6 @@ openerp.base.search.ManyToOneField = openerp.base.search.CharField.extend({ return started.promise(); }, on_name_get: function (name_get) { - console.log('m2o name_get', this.attrs.name); if (!name_get.length) { delete this.id; this.got_name.reject(); @@ -756,7 +753,6 @@ openerp.base.search.ManyToOneField = openerp.base.search.CharField.extend({ return this._super(defaults); }, get_domain: function () { - console.log('m2o get_domain', this.attrs.name); if (this.id && this.name) { if (this.$element.val() === this.name) { return [[this.attrs.name, '=', this.id]];