|
@@ -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];
|