From 0173104c849fa22bce302b5f1189300bdeed59d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sun, 5 Mar 2023 22:45:02 +0800 Subject: [PATCH] Revised the currency field in the CSV output of the journal. --- src/accounting/report/report_rows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accounting/report/report_rows.py b/src/accounting/report/report_rows.py index de382c4..d2cae36 100644 --- a/src/accounting/report/report_rows.py +++ b/src/accounting/report/report_rows.py @@ -63,7 +63,7 @@ class JournalRow(ReportRow): def as_dict(self) -> dict[str, t.Any]: return {"Date": self.transaction.date, - "Currency": str(self.currency), + "Currency": self.currency_code, "Account": str(self.account), "Summary": self.summary, "Debit": self.amount if self.is_debit else None,