ledger: Add program metadata column to all reports.

This commit is contained in:
Brett Smith 2021-02-17 14:21:45 -05:00
parent 55b347271c
commit bd1a5fc9de
2 changed files with 7 additions and 7 deletions

View file

@ -95,12 +95,12 @@ class LedgerODS(core.BaseODS[data.Posting, None]):
'Booked Amount', 'Booked Amount',
] ]
ACCOUNT_COLUMNS: Dict[str, Sequence[str]] = collections.OrderedDict([ ACCOUNT_COLUMNS: Dict[str, Sequence[str]] = collections.OrderedDict([
('Income', ['project', 'rt-id', 'receipt', 'income-type', 'memo']), ('Income', ['project', 'rt-id', 'program', 'income-type', 'receipt', 'memo']),
('Expenses:Payroll', ['project', 'rt-id', 'payroll-type', 'expense-type', 'receipt', 'approval']), ('Expenses:Payroll', ['project', 'rt-id', 'program', 'payroll-type', 'receipt', 'approval']),
('Expenses', ['project', 'rt-id', 'receipt', 'approval', 'expense-type']), ('Expenses', ['project', 'rt-id', 'program', 'expense-type', 'receipt', 'approval']),
('Equity', ['project', 'rt-id']), ('Equity', ['project', 'rt-id', 'program']),
('Assets:Receivable', ['project', 'rt-id', 'invoice', 'approval', 'contract', 'purchase-order']), ('Assets:Receivable', ['project', 'rt-id', 'program', 'invoice', 'approval', 'contract', 'purchase-order']),
('Liabilities:Payable', ['project', 'rt-id', '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:PayPal', ['rt-id', 'paypal-id', 'receipt', 'approval']),
('Assets', ['rt-id', 'receipt', 'approval', 'bank-statement']), ('Assets', ['rt-id', 'receipt', 'approval', 'bank-statement']),
('Liabilities', ['rt-id', 'receipt', 'approval', 'bank-statement']), ('Liabilities', ['rt-id', 'receipt', 'approval', 'bank-statement']),

View file

@ -5,7 +5,7 @@ from setuptools import setup
setup( setup(
name='conservancy_beancount', name='conservancy_beancount',
description="Plugin, library, and reports for reading Conservancy's books", description="Plugin, library, and reports for reading Conservancy's books",
version='1.18.0', version='1.18.1',
author='Software Freedom Conservancy', author='Software Freedom Conservancy',
author_email='info@sfconservancy.org', author_email='info@sfconservancy.org',
license='GNU AGPLv3+', license='GNU AGPLv3+',