瀏覽代碼

[FIX] correcion en el buscador

Rodney Enciso Arias 7 年之前
父節點
當前提交
c4dc43fd63
共有 4 個文件被更改,包括 2 次插入2 次删除
  1. 二進制
      __init__.pyc
  2. 二進制
      model/__init__.pyc
  3. 二進制
      model/sale_order.pyc
  4. 2 2
      static/src/js/sale_order_curve.js

二進制
__init__.pyc


二進制
model/__init__.pyc


二進制
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];