diff --git a/erpnext/patches/v5_4/cleanup_journal_entry.py b/erpnext/patches/v5_4/cleanup_journal_entry.py index 5de17c7325d..442132afd1d 100644 --- a/erpnext/patches/v5_4/cleanup_journal_entry.py +++ b/erpnext/patches/v5_4/cleanup_journal_entry.py @@ -1,7 +1,7 @@ import frappe def execute(): - frappe.reload_doctype("Journal Entry") + frappe.reload_doctype("Journal Entry Account") for doctype, fieldname in ( ("Sales Order", "against_sales_order"), ("Purchase Order", "against_purchase_order"),