diff --git a/erpnext/patches/v14_0/single_to_multi_dunning.py b/erpnext/patches/v14_0/single_to_multi_dunning.py index 40fba041ef1..af83ef70964 100644 --- a/erpnext/patches/v14_0/single_to_multi_dunning.py +++ b/erpnext/patches/v14_0/single_to_multi_dunning.py @@ -1,6 +1,8 @@ import frappe + from erpnext.accounts.general_ledger import make_reverse_gl_entries + def execute(): frappe.reload_doc("accounts", "doctype", "overdue_payment") frappe.reload_doc("accounts", "doctype", "dunning") @@ -39,7 +41,7 @@ def execute(): dunning.save() if dunning.status != "Resolved": - # With the new logic, dunning amount gets recorded as additional income + # With the new logic, dunning amount gets recorded as additional income # at time of payment. We don't want to record the dunning amount twice, # so we reverse previous GL Entries that recorded the dunning amount at # time of submission of the Dunning.