Changeset - 9699f4e52766
[Not reviewed]
0 2 0
Brett Smith - 4 years ago 2020-06-25 17:52:37
brettcsmith@brettcsmith.org
income_type: Set a default for TrademarkSales. RT#8869.
2 files changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/plugin/meta_income_type.py
Show inline comments
...
 
@@ -41,4 +41,5 @@ class MetaIncomeType(core._NormalizePostingMetadataHook):
 
        'Income:SoftwareDevelopment': 'RBI',
 
        'Income:TrademarkLicensing': 'RBI',
 
        'Income:TrademarkSales': 'RBI',
 
    }
 

	
tests/test_meta_income_type.py
Show inline comments
...
 
@@ -112,4 +112,5 @@ def test_non_income_accounts_skipped(hook, account):
 
    ('Income:SoftwareDevelopment', 'RBI'),
 
    ('Income:TrademarkLicensing', 'RBI'),
 
    ('Income:TrademarkSales', 'RBI'),
 
])
 
def test_default_values(hook, account, set_value):
0 comments (0 inline, 0 general)