From b725affe0c5f657b094e367dcda4cb87121bd5d2 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Tue, 19 Dec 2017 11:21:00 +0530 Subject: [PATCH] [fix] Mobile no search issue in the pos (#12090) --- erpnext/selling/page/point_of_sale/point_of_sale.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/erpnext/selling/page/point_of_sale/point_of_sale.js b/erpnext/selling/page/point_of_sale/point_of_sale.js index b0dd38f3b3c..a058fdf4f3a 100644 --- a/erpnext/selling/page/point_of_sale/point_of_sale.js +++ b/erpnext/selling/page/point_of_sale/point_of_sale.js @@ -674,6 +674,11 @@ class POSCart { fieldname: 'customer', options: 'Customer', reqd: 1, + get_query: function() { + return { + query: 'erpnext.controllers.queries.customer_query' + } + }, onchange: () => { this.events.on_customer_change(this.customer_field.get_value()); }