minor fix in patch
This commit is contained in:
parent
b3ffd6b282
commit
0bb434af3f
@ -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))
|
Loading…
Reference in New Issue
Block a user