data: bank-statement and tax-statement are link metadata.
Not including them earlier was an oversight.
This commit is contained in:
parent
582316ae85
commit
4a28596db2
3 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,7 @@ DecimalCompat = Union[decimal.Decimal, int]
|
|||
|
||||
LINK_METADATA = frozenset([
|
||||
'approval',
|
||||
'bank-statement',
|
||||
'check',
|
||||
'contract',
|
||||
'invoice',
|
||||
|
@ -63,6 +64,7 @@ LINK_METADATA = frozenset([
|
|||
'receipt',
|
||||
'rt-id',
|
||||
'statement',
|
||||
'tax-statement',
|
||||
])
|
||||
|
||||
class Account(str):
|
||||
|
|
|
@ -27,12 +27,14 @@ from conservancy_beancount.plugin import meta_repo_links
|
|||
|
||||
METADATA_KEYS = [
|
||||
'approval',
|
||||
'bank-statement',
|
||||
'check',
|
||||
'contract',
|
||||
'invoice',
|
||||
'purchase-order',
|
||||
'receipt',
|
||||
'statement',
|
||||
'tax-statement',
|
||||
]
|
||||
|
||||
GOOD_LINKS = [Path(s) for s in [
|
||||
|
|
|
@ -25,6 +25,7 @@ from conservancy_beancount.plugin import meta_rt_links
|
|||
|
||||
METADATA_KEYS = [
|
||||
'approval',
|
||||
'bank-statement',
|
||||
'check',
|
||||
'contract',
|
||||
'invoice',
|
||||
|
@ -32,6 +33,7 @@ METADATA_KEYS = [
|
|||
'receipt',
|
||||
'rt-id',
|
||||
'statement',
|
||||
'tax-statement',
|
||||
]
|
||||
|
||||
GOOD_LINKS = [
|
||||
|
|
Loading…
Reference in a new issue