Skip to content

Commit

Permalink
Merge pull request #36728 from ruthra-kumar/fetch_gain_loss_in_ar_ap_…
Browse files Browse the repository at this point in the history
…report

fix: include gain/loss journal in AR/AP reports
  • Loading branch information
ruthra-kumar authored Aug 21, 2023
2 parents 86cac1e + e3104f1 commit 06f86ad
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,10 @@ def get_exchange_rate_revaluations(self):
.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()
)
Expand Down

0 comments on commit 06f86ad

Please sign in to comment.