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:
parent
4bef6707ec
commit
b124081065
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user