fix: do not check for payment terms details for return invoices.
(cherry picked from commit 6703b7d1ae)
This commit is contained in:
@@ -500,7 +500,8 @@ class ReceivablePayableReport:
|
||||
from `tab{row.voucher_type}` si, `tabPayment Schedule` ps
|
||||
where
|
||||
si.name = ps.parent and
|
||||
si.name = %s
|
||||
si.name = %s and
|
||||
si.is_return = 0
|
||||
order by ps.paid_amount desc, due_date
|
||||
""",
|
||||
row.voucher_no,
|
||||
|
||||
Reference in New Issue
Block a user