|
@ -185,6 +185,8 @@ class CamtParser(models.AbstractModel): |
|
|
self.parse_transaction_details(ns, dnode, transaction) |
|
|
self.parse_transaction_details(ns, dnode, transaction) |
|
|
# transactions['data'] should be a synthetic xml snippet which |
|
|
# transactions['data'] should be a synthetic xml snippet which |
|
|
# contains only the TxDtls that's relevant. |
|
|
# contains only the TxDtls that's relevant. |
|
|
|
|
|
# only set this field if statement lines have it |
|
|
|
|
|
if 'data' in self.pool['account.bank.statement.line']._fields: |
|
|
data = copy(node) |
|
|
data = copy(node) |
|
|
for j, dnode in enumerate(data.xpath( |
|
|
for j, dnode in enumerate(data.xpath( |
|
|
'./ns:NtryDtls/ns:TxDtls', namespaces={'ns': ns})): |
|
|
'./ns:NtryDtls/ns:TxDtls', namespaces={'ns': ns})): |
|
|