[10.0][FIX] account_bank_statement_import_camt: switch name and note

This commit is contained in:
Andrea
2018-10-02 11:15:50 +02:00
parent e58e0a2819
commit 6fc47c1834
4 changed files with 12 additions and 11 deletions

View File

@@ -60,12 +60,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, [