diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index befe7568c1a..25c31b9deaa 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -1909,7 +1909,6 @@ def update_voucher_outstanding(voucher_type, voucher_no, account, party_type, pa if not voucher_type or not voucher_no: return - # todo use get advanced dotypes hooks if voucher_type in get_advance_payment_doctypes(): ref_doc = frappe.get_lazy_doc(voucher_type, voucher_no) ref_doc.set_total_advance_paid()