mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[ENH] Might need info in camt import from PmtInfId element.
This commit is contained in:
@@ -137,6 +137,13 @@ class CamtParser(object):
|
|||||||
if not transaction.message:
|
if not transaction.message:
|
||||||
self.add_value_from_node(
|
self.add_value_from_node(
|
||||||
ns, node, './ns:AddtlNtryInf', transaction, 'message')
|
ns, node, './ns:AddtlNtryInf', transaction, 'message')
|
||||||
|
if not transaction.eref:
|
||||||
|
self.add_value_from_node(
|
||||||
|
ns, node, [
|
||||||
|
'./ns:NtryDtls/ns:Btch/ns:PmtInfId',
|
||||||
|
],
|
||||||
|
transaction, 'eref'
|
||||||
|
)
|
||||||
transaction.data = etree.tostring(node)
|
transaction.data = etree.tostring(node)
|
||||||
return transaction
|
return transaction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user