Changeset - bd1a5fc9debd
[Not reviewed]
0 2 0
Brett Smith - 3 years ago 2021-02-17 19:21:45
brettcsmith@brettcsmith.org
ledger: Add program metadata column to all reports.
2 files changed with 7 insertions and 7 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/reports/ledger.py
Show inline comments
...
 
@@ -92,18 +92,18 @@ class LedgerODS(core.BaseODS[data.Posting, None]):
 
        data.Metadata.human_name('entity'),
 
        'Description',
 
        'Original Amount',
 
        'Booked Amount',
 
    ]
 
    ACCOUNT_COLUMNS: Dict[str, Sequence[str]] = collections.OrderedDict([
 
        ('Income', ['project', 'rt-id', 'receipt', 'income-type', 'memo']),
 
        ('Expenses:Payroll', ['project', 'rt-id', 'payroll-type', 'expense-type', 'receipt', 'approval']),
 
        ('Expenses', ['project', 'rt-id', 'receipt', 'approval', 'expense-type']),
 
        ('Equity', ['project', 'rt-id']),
 
        ('Assets:Receivable', ['project', 'rt-id', 'invoice', 'approval', 'contract', 'purchase-order']),
 
        ('Liabilities:Payable', ['project', 'rt-id', 'invoice', 'approval', 'contract', 'purchase-order']),
 
        ('Income', ['project', 'rt-id', 'program', 'income-type', 'receipt', 'memo']),
 
        ('Expenses:Payroll', ['project', 'rt-id', 'program', 'payroll-type', 'receipt', 'approval']),
 
        ('Expenses', ['project', 'rt-id', 'program', 'expense-type', 'receipt', 'approval']),
 
        ('Equity', ['project', 'rt-id', 'program']),
 
        ('Assets:Receivable', ['project', 'rt-id', 'program', 'invoice', 'approval', 'contract', 'purchase-order']),
 
        ('Liabilities:Payable', ['project', 'rt-id', 'program', 'invoice', 'approval', 'contract', 'purchase-order']),
 
        ('Assets:PayPal', ['rt-id', 'paypal-id', 'receipt', 'approval']),
 
        ('Assets', ['rt-id', 'receipt', 'approval', 'bank-statement']),
 
        ('Liabilities', ['rt-id', 'receipt', 'approval', 'bank-statement']),
 
    ])
 
    CLASSIFICATION_COLUMN = "Account Classification"
 
    # Excel 2003 was limited to 65,536 rows per worksheet.
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.18.0',
 
    version='1.18.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)