fix: use correct variable name on hotfix branches
This commit is contained in:
parent
94bb6241ef
commit
0694fd19fd
@ -82,9 +82,7 @@ class UnreconcilePayment(Document):
|
|||||||
update_voucher_outstanding(
|
update_voucher_outstanding(
|
||||||
alloc.reference_doctype, alloc.reference_name, alloc.account, alloc.party_type, alloc.party
|
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(
|
if doc.doctype in frappe.get_hooks("advance_payment_doctypes"):
|
||||||
"advance_payment_receivable_doctypes"
|
|
||||||
):
|
|
||||||
doc.set_total_advance_paid()
|
doc.set_total_advance_paid()
|
||||||
|
|
||||||
frappe.db.set_value("Unreconcile Payment Entries", alloc.name, "unlinked", True)
|
frappe.db.set_value("Unreconcile Payment Entries", alloc.name, "unlinked", True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user