Revised the currency field in the CSV output of the journal.
This commit is contained in:
parent
6e33fa775d
commit
0173104c84
@ -63,7 +63,7 @@ class JournalRow(ReportRow):
|
|||||||
|
|
||||||
def as_dict(self) -> dict[str, t.Any]:
|
def as_dict(self) -> dict[str, t.Any]:
|
||||||
return {"Date": self.transaction.date,
|
return {"Date": self.transaction.date,
|
||||||
"Currency": str(self.currency),
|
"Currency": self.currency_code,
|
||||||
"Account": str(self.account),
|
"Account": str(self.account),
|
||||||
"Summary": self.summary,
|
"Summary": self.summary,
|
||||||
"Debit": self.amount if self.is_debit else None,
|
"Debit": self.amount if self.is_debit else None,
|
||||||
|
Loading…
Reference in New Issue
Block a user