Merge pull request #189 from onesteinbv/11_fix_account_bank_statement_import_camt_oca

[11.0][FIX] account_bank_statement_import_camt_oca: add tag AddtlInf to the name field
This commit is contained in:
Pedro M. Baeza
2018-12-23 13:52:33 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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',

View File

@@ -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')