Browse Source

Merge pull request #190 from onesteinbv/10_fix_account_bank_statement_import_camt

[10.0][FIX] account_bank_statement_import_camt: add tag AddtlInf to the name field
pull/143/head
Pedro M. Baeza 6 years ago
committed by GitHub
parent
commit
eb5bf1f773
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      account_bank_statement_import_camt/__manifest__.py
  2. 2
      account_bank_statement_import_camt/models/parser.py

2
account_bank_statement_import_camt/__manifest__.py

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

2
account_bank_statement_import_camt/models/parser.py

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

Loading…
Cancel
Save