File diff 3dfe2669455b → ce34554bd4ba
conservancy_beancount/plugin/meta_payable_documentation.py
Show inline comments
...
 
@@ -26,7 +26,7 @@ class MetaPayableDocumentation(core._RequireLinksPostingMetadataHook):
 
    CHECKED_METADATA = ['approval', 'contract']
 

	
 
    def _run_on_post(self, txn: Transaction, post: data.Posting) -> bool:
 
        if post.account.is_under('Liabilities:Payable'):
 
        if post.account.is_under('Liabilities:Payable:Accounts'):
 
            return not post.is_credit()
 
        else:
 
            return False