Merge pull request #165 from hbrunn/8.0-account_bank_statement_import_ref-eref

[FIX] `ref` from 10.0 is called `eref` in 8.0
This commit is contained in:
Pedro M. Baeza
2018-07-17 16:27:59 +02:00
committed by GitHub

View File

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