fix: clean up if item is not found

This commit is contained in:
Ankush Menat 2022-03-27 20:32:36 +05:30 committed by Ankush Menat
parent 32e44f5121
commit 9f0e7949aa

View File

@ -44,6 +44,7 @@ erpnext.utils.BarcodeScanner = class BarcodeScanner {
message: __('Cannot find Item with this Barcode'),
indicator: 'red'
});
this.clean_up();
return;
}