chore: fix typo
diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py
index 72c9326..02fef4d 100644
--- a/erpnext/controllers/accounts_controller.py
+++ b/erpnext/controllers/accounts_controller.py
@@ -2180,7 +2180,7 @@
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)