From 6d121ae6e42b678a2879e6278e58e3441b2787d7 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Thu, 22 Jun 2023 13:03:09 +0530 Subject: [PATCH] chore: fix typo --- erpnext/controllers/accounts_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index 72c93261aa..02fef4d31b 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -2180,7 +2180,7 @@ def get_advance_journal_entries( if order_list: q = q.where( - (journal_acc.reference_type == order_doctype) & ((journal_acc.reference).isin(order_list)) + (journal_acc.reference_type == order_doctype) & ((journal_acc.reference_type).isin(order_list)) ) q = q.orderby(journal_entry.posting_date)