Jelajahi Sumber

[FIX] correcion en el buscador

Rodney Enciso Arias 7 tahun lalu
induk
melakukan
c4dc43fd63
4 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. TEMPAT SAMPAH
      __init__.pyc
  2. TEMPAT SAMPAH
      model/__init__.pyc
  3. TEMPAT SAMPAH
      model/sale_order.pyc
  4. 2 2
      static/src/js/sale_order_curve.js

TEMPAT SAMPAH
__init__.pyc


TEMPAT SAMPAH
model/__init__.pyc


TEMPAT SAMPAH
model/sale_order.pyc


+ 2 - 2
static/src/js/sale_order_curve.js

@@ -119,7 +119,7 @@ openerp.eiru_sale_order = function (instance, local) {
                 });
                 self.$('#productSearch').autocomplete({
                     source: results,
-                    minLength:4,
+                    minLength:3,
                     response: function (e, ui){
                         if (ui.content instanceof Array && ui.content.length === 1) {
                             selectProduct = ui.content[0];    
@@ -145,7 +145,7 @@ openerp.eiru_sale_order = function (instance, local) {
                 });
                 $('#productSearch').autocomplete({
                     source: results,
-                    minLength: 4,
+                    minLength: 3,
                     response: function (e, ui){
                         if (ui.content instanceof Array && ui.content.length === 1) {
                             selectProduct = ui.content[0];