fund: ODS report usability improvements.
* Lock the first column. * Open the breakdown sheet by default.
This commit is contained in:
parent
2c61f2b9f2
commit
f7d24cd8ab
2 changed files with 4 additions and 1 deletions
|
@ -126,6 +126,7 @@ class ODSReport(core.BaseODS[FundPosts, None]):
|
|||
self.multiline_cell(["Of Which", "Unearned Income"], stylename=center_bold),
|
||||
)
|
||||
self.lock_first_row()
|
||||
self.lock_first_column()
|
||||
self.add_row()
|
||||
self.add_row(self.string_cell(
|
||||
f"Fund Report From {self.start_date.isoformat()} To {self.stop_date.isoformat()}",
|
||||
|
@ -171,7 +172,9 @@ class ODSReport(core.BaseODS[FundPosts, None]):
|
|||
for index in reversed(skip_rows):
|
||||
del sheet.childNodes[index]
|
||||
self.lock_first_row(sheet)
|
||||
self.lock_first_column(sheet)
|
||||
self.document.spreadsheet.insertBefore(sheet, self.sheet)
|
||||
self.set_open_sheet(self.sheet)
|
||||
|
||||
def _row_balances(self, accounts_map: AccountsMap) -> Iterable[core.Balance]:
|
||||
acct_order = ['Income', 'Expenses', 'Equity']
|
||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ from setuptools import setup
|
|||
setup(
|
||||
name='conservancy_beancount',
|
||||
description="Plugin, library, and reports for reading Conservancy's books",
|
||||
version='1.5.3',
|
||||
version='1.5.4',
|
||||
author='Software Freedom Conservancy',
|
||||
author_email='info@sfconservancy.org',
|
||||
license='GNU AGPLv3+',
|
||||
|
|
Loading…
Reference in a new issue