Files
erpnext/erpnext/patches/v16_0/fix_barcode_typo.py
2025-12-30 12:10:46 +05:30

8 lines
157 B
Python

import frappe
def execute():
frappe.qb.update("Item Barcode").set("barcode_type", "EAN-13").where(
frappe.qb.Field("barcode_type") == "EAN-12"
).run()