mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 17:33:09 +00:00
Reload doctype bewfore renaming margin fields (#8771)
This commit is contained in:
@@ -12,7 +12,7 @@ def execute():
|
||||
|
||||
for d in ("Sales Order Item", "Sales Invoice Item",
|
||||
"Delivery Note Item", "Quotation Item"):
|
||||
|
||||
frappe.reload_doctype(d)
|
||||
rename_field_if_exists(d, "total_margin", "rate_with_margin")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user