Browse Source

[FIX] `ref` from 10.0 is called `eref` in 8.0

pull/165/head
Holger Brunn 6 years ago
parent
commit
e34f5aa248
No known key found for this signature in database GPG Key ID: 1C9760FECA3AE18
  1. 2
      account_bank_statement_import_camt/models/parser.py

2
account_bank_statement_import_camt/models/parser.py

@ -166,7 +166,7 @@ class CamtParser(models.AbstractModel):
'./ns:NtryDtls/ns:RmtInf/ns:Strd/ns:CdtrRefInf/ns:Ref',
'./ns:NtryDtls/ns:Btch/ns:PmtInfId',
],
transaction, 'ref'
transaction, 'eref'
)
details_nodes = node.xpath(
'./ns:NtryDtls/ns:TxDtls', namespaces={'ns': ns})

Loading…
Cancel
Save