Skip to content

Commit

Permalink
fix(AccountsController): Use get_all to get payment requests when upd…
Browse files Browse the repository at this point in the history
…ating advance payment status
  • Loading branch information
cogk authored May 13, 2024
1 parent 6433337 commit 13a3a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/controllers/accounts_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1942,7 +1942,7 @@ def set_total_advance_paid(self):
def set_advance_payment_status(self):
new_status = None

stati = frappe.get_list(
stati = frappe.get_all(
"Payment Request",
{
"reference_doctype": self.doctype,
Expand Down

0 comments on commit 13a3a6a

Please sign in to comment.