mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-15 16:28:20 +00:00
Merge pull request #7933 from rohitwaghchaure/minor_fix_patch
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