Chirag Patel (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-client-web/6.0-opw-16401-cpa into 
lp:openobject-client-web/6.0.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-16401-cpa/+merge/69205
-- 
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-16401-cpa/+merge/69205
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client-web/6.0-opw-16401-cpa.
=== modified file 'addons/openerp/static/javascript/m2o.js'
--- addons/openerp/static/javascript/m2o.js	2011-07-06 09:35:34 +0000
+++ addons/openerp/static/javascript/m2o.js	2011-07-26 06:47:11 +0000
@@ -372,7 +372,8 @@
 ManyToOne.prototype.get_matched = function() {
     if (jQuery(this.field).hasClass('m2o_search') &&
         this.delayedRequest == null &&
-        this.numResultRows == 0) {
+        this.numResultRows == 0 && 
+        this.text.value != '') {
         // Allow substring search (press ESC at the combobox)
         return;
     }

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to