fix: include gain/loss journal in AR/AP reports

This commit is contained in:
ruthra kumar 2023-08-20 20:13:31 +05:30
parent 98adfb4c9a
commit e3104f1898

View File

@ -1090,7 +1090,10 @@ class ReceivablePayableReport(object):
.where(
(je.company == self.filters.company)
& (je.posting_date.lte(self.filters.report_date))
& (je.voucher_type == "Exchange Rate Revaluation")
& (
(je.voucher_type == "Exchange Rate Revaluation")
| (je.voucher_type == "Exchange Gain Or Loss")
)
)
.run()
)