Merge pull request #23084 from nextchamp-saqib/pos-search-fix-pre-release

fix: cannot search items in offline pos
This commit is contained in:
rohitwaghchaure
2020-08-21 13:13:50 +05:30
committed by GitHub

View File

@@ -1098,8 +1098,8 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
get_items: function (item_code) {
// To search item as per the key enter
item_code = unescape(item_code);
item_code = item_code === "undefined" ? undefined : item_code;
var me = this;
this.item_serial_no = {};
this.item_batch_no = {};