fix: clean up if item is not found
This commit is contained in:
parent
32e44f5121
commit
9f0e7949aa
@ -44,6 +44,7 @@ erpnext.utils.BarcodeScanner = class BarcodeScanner {
|
|||||||
message: __('Cannot find Item with this Barcode'),
|
message: __('Cannot find Item with this Barcode'),
|
||||||
indicator: 'red'
|
indicator: 'red'
|
||||||
});
|
});
|
||||||
|
this.clean_up();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user