mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
minor fix in patch
This commit is contained in:
@@ -9,5 +9,6 @@ def execute():
|
||||
doctype_list = ['Sales Order Item', 'Delivery Note Item', 'Quotation Item', 'Sales Invoice Item']
|
||||
|
||||
for doctype in doctype_list:
|
||||
frappe.reload_doctype(doctype)
|
||||
frappe.db.sql("""update `tab{doctype}`
|
||||
set uom = stock_uom, conversion_factor = 1, stock_qty = qty""".format(doctype=doctype))
|
||||
Reference in New Issue
Block a user