We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 714d686 commit f3bdcc2Copy full SHA for f3bdcc2
1 file changed
erpnext/stock/get_item_details.py
@@ -319,7 +319,7 @@ def update_barcode_value(out):
319
320
# If item has one barcode then update the value of the barcode field
321
if barcode_data and len(barcode_data.get(out.item_code)) == 1:
322
- out['barcode'] = barcode_data.get(out.item_code)
+ out['barcode'] = barcode_data.get(out.item_code)[0]
323
324
@frappe.whitelist()
325
def calculate_service_end_date(args, item=None):
0 commit comments