Merge pull request #36728 from ruthra-kumar/fetch_gain_loss_in_ar_ap_report
fix: include gain/loss journal in AR/AP reports
This commit is contained in:
commit
06f86ad5e0
@ -1090,7 +1090,10 @@ class ReceivablePayableReport(object):
|
|||||||
.where(
|
.where(
|
||||||
(je.company == self.filters.company)
|
(je.company == self.filters.company)
|
||||||
& (je.posting_date.lte(self.filters.report_date))
|
& (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()
|
.run()
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user