From e34f5aa248eb884d81aa6beb3bf31e44d0a37561 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 17 Jul 2018 15:45:27 +0200 Subject: [PATCH] [FIX] `ref` from 10.0 is called `eref` in 8.0 --- account_bank_statement_import_camt/models/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_bank_statement_import_camt/models/parser.py b/account_bank_statement_import_camt/models/parser.py index 8905186..b7fe26b 100644 --- a/account_bank_statement_import_camt/models/parser.py +++ b/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})