Changeset - 31cee4e0ba15
[Not reviewed]
0 3 0
Brett Smith - 3 years ago 2021-01-18 20:45:31
brettcsmith@brettcsmith.org
meta_tax_implication: New values for grant recipients.
3 files changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/plugin/meta_tax_implication.py
Show inline comments
...
 
@@ -40,6 +40,7 @@ class MetaTaxImplication(core._NormalizePostingMetadataHook):
 
        'Bank-Transfer',
 
        'Chargeback',
 
        'Foreign-Corporation',
 
        'Foreign-Grantee',
 
        'Foreign-Individual-Contractor',
 
        'Loan',
 
        'Refund',
...
 
@@ -48,6 +49,7 @@ class MetaTaxImplication(core._NormalizePostingMetadataHook):
 
        'Tax-Payment',
 
        'USA-501c3',
 
        'USA-Corporation',
 
        'USA-Grantee',
 
        'W2',
 
    ]
 
    _ALIASES = dict(
setup.py
Show inline comments
...
 
@@ -5,7 +5,7 @@ from setuptools import setup
 
setup(
 
    name='conservancy_beancount',
 
    description="Plugin, library, and reports for reading Conservancy's books",
 
    version='1.15.3',
 
    version='1.15.4',
 
    author='Software Freedom Conservancy',
 
    author_email='info@sfconservancy.org',
 
    license='GNU AGPLv3+',
tests/test_meta_tax_implication.py
Show inline comments
...
 
@@ -20,6 +20,7 @@ VALID_VALUES = {
 
    'Bank-Transfer': 'Bank-Transfer',
 
    'Chargeback': 'Chargeback',
 
    'Foreign-Corporation': 'Foreign-Corporation',
 
    'Foreign-Grantee': 'Foreign-Grantee',
 
    'Foreign-Individual-Contractor': 'Foreign-Individual-Contractor',
 
    'Loan': 'Loan',
 
    'Refund': 'Refund',
...
 
@@ -28,6 +29,8 @@ VALID_VALUES = {
 
    'Tax-Payment': 'Tax-Payment',
 
    'USA-501c3': 'USA-501c3',
 
    'USA-Corporation': 'USA-Corporation',
 
    'USA-Grantee': 'USA-Grantee',
 
    'US-Grantee': 'USA-Grantee',
 
    'W2': 'W2',
 
}
 

	
0 comments (0 inline, 0 general)