diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index d45851dfd81..a5b29114b97 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -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,