Browse Source

[FIX] Add tag AddtlInf to the name field

pull/198/head
Andrea 6 years ago
committed by Thomas Binsfeld
parent
commit
d6542b5de2
  1. 2
      account_bank_statement_import_camt_oca/__manifest__.py
  2. 2
      account_bank_statement_import_camt_oca/models/parser.py

2
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). # 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': '11.0.1.0.3',
'version': '11.0.1.0.4',
'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',

2
account_bank_statement_import_camt_oca/models/parser.py

@ -56,7 +56,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')

Loading…
Cancel
Save