Removed the lazy setting from the account relationship of the JournalEntry data model. It results in problems in the income and expense report.
This commit is contained in:
parent
8cd004bede
commit
39723b1299
@ -655,7 +655,7 @@ class JournalEntry(db.Model):
|
||||
onupdate="CASCADE"),
|
||||
nullable=False)
|
||||
"""The account ID."""
|
||||
account = db.relationship(Account, back_populates="entries", lazy=False)
|
||||
account = db.relationship(Account, back_populates="entries")
|
||||
"""The account."""
|
||||
summary = db.Column(db.String, nullable=True)
|
||||
"""The summary."""
|
||||
|
Loading…
Reference in New Issue
Block a user