From 97dbce5b4ca9c7505f4358de76ac2b13ab2fdcaf Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Tue, 6 Oct 2020 14:32:21 -0400 Subject: [PATCH] balance_sheet: Remove transitional code for account-code column. --- conservancy_beancount/reports/balance_sheet.py | 4 ---- setup.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/conservancy_beancount/reports/balance_sheet.py b/conservancy_beancount/reports/balance_sheet.py index f937b72..cbed0b7 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 d5cafbe..7561748 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+',