mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[9.0] [ENH] allow camt054 to be parsed (#106)
* allow camt054 to be parsed
This commit is contained in:
committed by
Stefan Rijnhart (Opener)
parent
feaeb462d7
commit
6c0ccc6831
@@ -216,10 +216,12 @@ class CamtParser(models.AbstractModel):
|
|||||||
)
|
)
|
||||||
if not re_camt.search(ns):
|
if not re_camt.search(ns):
|
||||||
raise ValueError('no camt: ' + ns)
|
raise ValueError('no camt: ' + ns)
|
||||||
# Check wether version 052 or 053:
|
# Check wether version 052 ,053 or 054:
|
||||||
re_camt_version = re.compile(
|
re_camt_version = re.compile(
|
||||||
r'(^urn:iso:std:iso:20022:tech:xsd:camt.053.'
|
r'(^urn:iso:std:iso:20022:tech:xsd:camt.054.'
|
||||||
|
r'|^urn:iso:std:iso:20022:tech:xsd:camt.053.'
|
||||||
r'|^urn:iso:std:iso:20022:tech:xsd:camt.052.'
|
r'|^urn:iso:std:iso:20022:tech:xsd:camt.052.'
|
||||||
|
r'|^ISO:camt.054.'
|
||||||
r'|^ISO:camt.053.'
|
r'|^ISO:camt.053.'
|
||||||
r'|^ISO:camt.052.)'
|
r'|^ISO:camt.052.)'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user