From 3cb8b3ac6de4dd99311a500f303bacf4f4a98347 Mon Sep 17 00:00:00 2001 From: Andrea Date: Mon, 17 Dec 2018 10:55:42 +0100 Subject: [PATCH] [FIX] Add tag AddtlInf to the name field --- account_bank_statement_import_camt_oca/__manifest__.py | 2 +- account_bank_statement_import_camt_oca/models/parser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/account_bank_statement_import_camt_oca/__manifest__.py b/account_bank_statement_import_camt_oca/__manifest__.py index 9370b25..d5e8ab0 100644 --- a/account_bank_statement_import_camt_oca/__manifest__.py +++ b/account_bank_statement_import_camt_oca/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'CAMT Format Bank Statements Import', - 'version': '11.0.1.0.3', + 'version': '11.0.1.0.4', 'license': 'AGPL-3', 'author': 'Odoo Community Association (OCA), Therp BV', 'website': 'https://github.com/OCA/bank-statement-import', diff --git a/account_bank_statement_import_camt_oca/models/parser.py b/account_bank_statement_import_camt_oca/models/parser.py index eb329d7..8bb871c 100644 --- a/account_bank_statement_import_camt_oca/models/parser.py +++ b/account_bank_statement_import_camt_oca/models/parser.py @@ -56,7 +56,7 @@ class CamtParser(models.AbstractModel): # message self.add_value_from_node( ns, node, [ - './ns:RmtInf/ns:Ustrd', + './ns:RmtInf/ns:Ustrd|./ns:RtrInf/ns:AddtlInf', './ns:AddtlNtryInf', './ns:Refs/ns:InstrId', ], transaction, 'name', join_str='\n')