Changeset - 99f97d3f5849
[Not reviewed]
0 2 0
Brett Smith - 4 years ago 2020-03-05 17:23:03
brettcsmith@brettcsmith.org
expenseAllocation: Accept 'admin' shorthand for 'administration'.
2 files changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/plugin/meta_expense_allocation.py
Show inline comments
...
 
@@ -24,4 +24,6 @@ class ExpenseAllocations(enum.Enum):
 
    program = 'program'
 

	
 
    admin = administration
 

	
 

	
 
class MetaExpenseAllocation(core.PostingChecker):
tests/test_meta_expenseAllocation.py
Show inline comments
...
 
@@ -25,4 +25,5 @@ VALID_VALUES = {
 
    'administration': 'administration',
 
    'fundraising': 'fundraising',
 
    'admin': 'administration',
 
}
 

	
0 comments (0 inline, 0 general)