[FIX] Add tag AddtlInf to the name field

This commit is contained in:
Andrea
2018-12-17 10:55:42 +01:00
parent 5b06e10d99
commit 3e62fbed95
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{ {
'name': 'CAMT Format Bank Statements Import', 'name': 'CAMT Format Bank Statements Import',
'version': '10.0.1.1.4', 'version': '10.0.1.1.5',
'license': 'AGPL-3', 'license': 'AGPL-3',
'author': 'Odoo Community Association (OCA), Therp BV', 'author': 'Odoo Community Association (OCA), Therp BV',
'website': 'https://github.com/OCA/bank-statement-import', 'website': 'https://github.com/OCA/bank-statement-import',

View File

@@ -57,7 +57,7 @@ class CamtParser(models.AbstractModel):
# message # message
self.add_value_from_node( self.add_value_from_node(
ns, node, [ ns, node, [
'./ns:RmtInf/ns:Ustrd', './ns:RmtInf/ns:Ustrd|./ns:RtrInf/ns:AddtlInf',
'./ns:AddtlNtryInf', './ns:AddtlNtryInf',
'./ns:Refs/ns:InstrId', './ns:Refs/ns:InstrId',
], transaction, 'name', join_str='\n') ], transaction, 'name', join_str='\n')