fix: use correct field name in accounts controller (#39884)

Changes to get advance payments in SI or PI from JV's
This commit is contained in:
Rohit Gunjegaonkar 2024-02-14 12:08:36 +05:30 committed by GitHub
parent 4bef6707ec
commit b124081065
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2691,7 +2691,7 @@ def get_advance_journal_entries(
if order_list:
q = q.where(
(journal_acc.reference_type == order_doctype) & ((journal_acc.reference_type).isin(order_list))
(journal_acc.reference_type == order_doctype) & ((journal_acc.reference_name).isin(order_list))
)
q = q.orderby(journal_entry.posting_date)