fix: dont update item info twice
[skip ci]
This commit is contained in:
parent
b88e850d55
commit
11207c4e56
@ -599,7 +599,7 @@ def scan_barcode(search_value: str) -> BarcodeScanResult:
|
||||
if batch_no_data:
|
||||
_update_item_info(batch_no_data)
|
||||
set_cache(batch_no_data)
|
||||
return _update_item_info(batch_no_data)
|
||||
return batch_no_data
|
||||
|
||||
return {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user