[FIX] remove tispy in m2o in some cases

bzr revid: nicolas.vanhoren@openerp.com-20120816142002-fg21q3a5ycxmgesn
This commit is contained in:
niv-openerp 2012-08-16 16:20:02 +02:00
parent 2794297e1a
commit c916e5ee0e
1 changed files with 2 additions and 0 deletions

View File

@ -2979,10 +2979,12 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
},
_quick_create: function() {
this.no_tipsy = true;
this.tip_def.reject();
return instance.web.form.CompletionFieldMixin._quick_create.apply(this, arguments);
},
_search_create_popup: function() {
this.no_tipsy = true;
this.tip_def.reject();
return instance.web.form.CompletionFieldMixin._search_create_popup.apply(this, arguments);
},
});