Changeset - 8ec3a12d5af7
[Not reviewed]
0 2 0
Brett Smith - 4 years ago 2020-10-21 20:15:58
brettcsmith@brettcsmith.org
accrual: Key on entity for Liabilities:Payable:Vacation.

The invoice metadata is less operative in this account.
2 files changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/reports/accrual.py
Show inline comments
...
 
@@ -178,3 +178,2 @@ class AccrualPostings(core.RelatedPostings):
 
        key: Tuple[str, ...]
 
        prepaid_account = AccrualAccount.PREPAID.value.name
 
        for post in postings:
...
 
@@ -182,3 +181,3 @@ class AccrualPostings(core.RelatedPostings):
 
            entity = str(post.meta.get('entity', 'BlankEntity'))
 
            if post.account.is_under(prepaid_account):
 
            if post.account.is_under('Assets:Prepaid', 'Liabilities:Payable:Vacation'):
 
                invoice = entity
setup.py
Show inline comments
...
 
@@ -7,3 +7,3 @@ setup(
 
    description="Plugin, library, and reports for reading Conservancy's books",
 
    version='1.12.4',
 
    version='1.12.5',
 
    author='Software Freedom Conservancy',
0 comments (0 inline, 0 general)