Changeset - 97dbce5b4ca9
[Not reviewed]
0 2 0
Brett Smith - 4 years ago 2020-10-06 18:33:01
brettcsmith@brettcsmith.org
balance_sheet: Remove transitional code for account-code column.
2 files changed with 1 insertions and 5 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/reports/balance_sheet.py
Show inline comments
...
 
@@ -599,16 +599,12 @@ class Report(core.BaseODS[Sequence[None], None]):
 
        header_row = self.sheet.lastChild
 
        header_row.removeChild(header_row.firstChild)
 
        header_row.insertBefore(self.multiline_cell(
 
            ["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')
 
            want_balance = acct_root not in EQUITY_ACCOUNTS
 
            self.add_row()
 
            for account in self.balances.iter_accounts(acct_root):
setup.py
Show inline comments
...
 
@@ -2,13 +2,13 @@
 

	
 
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+',
 

	
 
    install_requires=[
 
        'babel>=2.6',  # Debian:python3-babel
0 comments (0 inline, 0 general)