Removed the unused entry property from the ReportEntry model of the income and expenses log.
This commit is contained in:
parent
a340fad109
commit
4ce577d7d8
@ -47,8 +47,6 @@ class ReportEntry:
|
||||
|
||||
:param entry: The journal entry.
|
||||
"""
|
||||
self.entry: JournalEntry | None = None
|
||||
"""The journal entry."""
|
||||
self.transaction: Transaction | None = None
|
||||
"""The transaction."""
|
||||
self.is_brought_forward: bool = False
|
||||
@ -70,7 +68,6 @@ class ReportEntry:
|
||||
self.note: str | None = None
|
||||
"""The note."""
|
||||
if entry is not None:
|
||||
self.entry = entry
|
||||
self.transaction = entry.transaction
|
||||
self.date = entry.transaction.date
|
||||
self.account = entry.account
|
||||
|
Loading…
Reference in New Issue
Block a user