Changeset - 3a4c8526b2b2
[Not reviewed]
0 2 0
Brett Smith - 4 years ago 2020-03-31 19:04:15
brettcsmith@brettcsmith.org
meta_entity: Not required for Equity accounts.
2 files changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/plugin/meta_entity.py
Show inline comments
...
 
@@ -41,3 +41,3 @@ class MetaEntity(core.TransactionHook):
 
        for post in data.iter_postings(txn):
 
            if post.account.is_under('Assets', 'Liabilities'):
 
            if post.account.is_under('Assets', 'Equity', 'Liabilities'):
 
                continue
tests/test_meta_entity.py
Show inline comments
...
 
@@ -86,2 +86,3 @@ def test_invalid_values_on_transactions(hook, src_value):
 
    ('Assets:Cash', False),
 
    ('Equity:OpeningBalances', False),
 
    ('Expenses:General', True),
0 comments (0 inline, 0 general)