mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-29 17:11:33 +02:00
fix: dont update item info twice
[skip ci]
This commit is contained in:
@@ -599,7 +599,7 @@ def scan_barcode(search_value: str) -> BarcodeScanResult:
|
|||||||
if batch_no_data:
|
if batch_no_data:
|
||||||
_update_item_info(batch_no_data)
|
_update_item_info(batch_no_data)
|
||||||
set_cache(batch_no_data)
|
set_cache(batch_no_data)
|
||||||
return _update_item_info(batch_no_data)
|
return batch_no_data
|
||||||
|
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user