Skip to content

Commit

Permalink
fix: include gain/loss journal in AR/AP reports
Browse files Browse the repository at this point in the history
(cherry picked from commit e3104f1)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Aug 21, 2023
1 parent e1bd9a7 commit 4606079
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 4606079

Please sign in to comment.