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()); }