fix: use correct field name in accounts controller (#39884) Changes to get advance payments in SI or PI from JV's (cherry picked from commit b124081065d475c5b042eaf898773b35f1ac5dc6) Co-authored-by: Rohit Gunjegaonkar <135806454+rohitg-pbspl@users.noreply.github.com>
This commit is contained in:
parent
375859a25f
commit
f08b424972
@ -2651,7 +2651,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