Fixed the incorrect account in the __add_current_period method of the AccountCollector class in the "accounting.report.reports.balance_sheet" module.
This commit is contained in:
parent
26b70bb625
commit
5dc8387ad9
@ -209,7 +209,7 @@ class AccountCollector:
|
||||
amount: Decimal | None = self.__query_currency_period()
|
||||
url: str = url_for("accounting.report.income-statement",
|
||||
currency=self.__currency, period=self.__period)
|
||||
self.__add_owner_s_equity(Account.ACCUMULATED_CHANGE, amount, url)
|
||||
self.__add_owner_s_equity(Account.NET_CHANGE, amount, url)
|
||||
|
||||
def __query_currency_period(self) -> Decimal | None:
|
||||
"""Queries and returns the net income or loss for current period.
|
||||
|
Loading…
Reference in New Issue
Block a user