Revised the currency field in the CSV output of the journal.

This commit is contained in:
依瑪貓 2023-03-05 22:45:02 +08:00
parent 6e33fa775d
commit 0173104c84

View File

@ -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,