Skip to content

Commit

Permalink
fix: use correct variable name on hotfix branches
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Feb 26, 2024
1 parent 94bb624 commit 0694fd1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ def on_submit(self):
update_voucher_outstanding(
alloc.reference_doctype, alloc.reference_name, alloc.account, alloc.party_type, alloc.party
)
if doc.doctype in frappe.get_hooks("advance_payment_payable_doctypes") + frappe.get_hooks(
"advance_payment_receivable_doctypes"
):
if doc.doctype in frappe.get_hooks("advance_payment_doctypes"):
doc.set_total_advance_paid()

frappe.db.set_value("Unreconcile Payment Entries", alloc.name, "unlinked", True)
Expand Down

0 comments on commit 0694fd1

Please sign in to comment.