From 97dbce5b4ca9c7505f4358de76ac2b13ab2fdcaf 2020-10-06 18:33:01 From: Brett Smith Date: 2020-10-06 18:33:01 Subject: [PATCH] balance_sheet: Remove transitional code for account-code column. --- diff --git a/conservancy_beancount/reports/balance_sheet.py b/conservancy_beancount/reports/balance_sheet.py index f937b7248d9bf804e80d81d0c0914f1a612cda43..cbed0b7627eee57cab335e3bbbdfac0fc173c4c5 100644 --- a/conservancy_beancount/reports/balance_sheet.py +++ b/conservancy_beancount/reports/balance_sheet.py @@ -602,10 +602,6 @@ class Report(core.BaseODS[Sequence[None], None]): ["Balance Ending", self.period_name], stylename=header_row.lastChild.getAttribute('stylename'), ), header_row.lastChild) - # Hide account code if it's not ready. - # FIXME: This code can be removed once codes are fully established. - if not any(acct.meta.get('account-code') for acct in self.balances.iter_accounts()): - self.sheet.childNodes[2].setAttribute('visibility', 'collapse') for acct_root in ['Assets', 'Liabilities', 'Income', 'Expenses', 'Equity']: norm_func = core.normalize_amount_func(f'{acct_root}:Dummy') diff --git a/setup.py b/setup.py index d5cafbef38d15a842ab3311f3fe3d518b8b536cd..7561748d2a1df3b3c61640413b056f1165c4dd72 100755 --- a/setup.py +++ b/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.12.0', + version='1.12.1', author='Software Freedom Conservancy', author_email='info@sfconservancy.org', license='GNU AGPLv3+',