fix(AccountsController): Use get_all to get payment requests when updating advance payment status

This commit is contained in:
Corentin Flr
2024-05-13 17:11:08 +02:00
committed by GitHub
parent 64333373ca
commit 13a3a6a82e

View File

@@ -1942,7 +1942,7 @@ class AccountsController(TransactionBase):
def set_advance_payment_status(self):
new_status = None
stati = frappe.get_list(
stati = frappe.get_all(
"Payment Request",
{
"reference_doctype": self.doctype,