Adding the missing currency when constructing the report chooser in the trial balance.
This commit is contained in:
parent
88147bea66
commit
734362396f
@ -732,7 +732,9 @@ class TrialBalance(JournalEntryReport[TrialBalanceRow]):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def report_chooser(self) -> ReportChooser:
|
def report_chooser(self) -> ReportChooser:
|
||||||
return ReportChooser(ReportType.TRIAL_BALANCE, period=self.period)
|
return ReportChooser(ReportType.TRIAL_BALANCE,
|
||||||
|
currency=self.currency,
|
||||||
|
period=self.period)
|
||||||
|
|
||||||
def as_html_page(self) -> str:
|
def as_html_page(self) -> str:
|
||||||
pagination: Pagination = Pagination[TrialBalanceRow](self.rows)
|
pagination: Pagination = Pagination[TrialBalanceRow](self.rows)
|
||||||
|
Loading…
Reference in New Issue
Block a user