Allow search without keypress enter
diff --git a/erpnext/accounts/page/pos/pos.js b/erpnext/accounts/page/pos/pos.js
index ee4644a..d576406 100644
--- a/erpnext/accounts/page/pos/pos.js
+++ b/erpnext/accounts/page/pos/pos.js
@@ -427,7 +427,7 @@
this.serach_item.make_input();
this.serach_item.$input.on("keypress", function (event) {
- if((me.serach_item.$input.val() != "") && (event.which == 13)){
+ if((me.serach_item.$input.val() != "") || (event.which == 13)){
me.items = me.get_items();
me.make_item_list();
}