data: bank-statement and tax-statement are link metadata.

Not including them earlier was an oversight.
This commit is contained in:
Brett Smith 2020-06-15 18:08:18 -04:00
parent 582316ae85
commit 4a28596db2
3 changed files with 6 additions and 0 deletions

View file

@ -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):

View file

@ -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 [

View file

@ -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 = [