[Fix] POS page loading issue, if system has only one item
diff --git a/erpnext/accounts/page/pos/pos.js b/erpnext/accounts/page/pos/pos.js
index 4b3da28..b3d152f 100644
--- a/erpnext/accounts/page/pos/pos.js
+++ b/erpnext/accounts/page/pos/pos.js
@@ -356,7 +356,8 @@
 			});
 		}
 
-		if(this.items.length == 1){
+		if(this.items.length == 1
+			&& this.search.$input.val()) {
 			this.search.$input.val("");
 			this.add_to_cart();
 		}