mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-25 14:11:45 +01:00
fix: do not check for payment terms details for return invoices.
(cherry picked from commit 6703b7d1ae)
This commit is contained in:
@@ -522,7 +522,8 @@ class ReceivablePayableReport:
|
|||||||
from `tab{row.voucher_type}` si, `tabPayment Schedule` ps
|
from `tab{row.voucher_type}` si, `tabPayment Schedule` ps
|
||||||
where
|
where
|
||||||
si.name = ps.parent and
|
si.name = ps.parent and
|
||||||
si.name = %s
|
si.name = %s and
|
||||||
|
si.is_return = 0
|
||||||
order by ps.paid_amount desc, due_date
|
order by ps.paid_amount desc, due_date
|
||||||
""",
|
""",
|
||||||
row.voucher_no,
|
row.voucher_no,
|
||||||
|
|||||||
Reference in New Issue
Block a user