From 5a85ee5346948f32f5a76f86ebadb36ec8225dfe Mon Sep 17 00:00:00 2001 From: Andrea Date: Tue, 2 Oct 2018 11:15:50 +0200 Subject: [PATCH] [11.0][FIX] account_bank_statement_import_camt: switch name and note --- account_bank_statement_import_camt_oca/__manifest__.py | 2 +- account_bank_statement_import_camt_oca/models/parser.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/account_bank_statement_import_camt_oca/__manifest__.py b/account_bank_statement_import_camt_oca/__manifest__.py index 573acf3..9370b25 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.2', + 'version': '11.0.1.0.3', '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 aa9ef1e..eb329d7 100644 --- a/account_bank_statement_import_camt_oca/models/parser.py +++ b/account_bank_statement_import_camt_oca/models/parser.py @@ -59,12 +59,12 @@ class CamtParser(models.AbstractModel): './ns:RmtInf/ns:Ustrd', './ns:AddtlNtryInf', './ns:Refs/ns:InstrId', - ], transaction, 'note', join_str='\n') + ], transaction, 'name', join_str='\n') # name self.add_value_from_node( ns, node, [ './ns:AddtlTxInf', - ], transaction, 'name', join_str='\n') + ], transaction, 'note', join_str='\n') # eref self.add_value_from_node( ns, node, [