mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[9.0][FIX] account_bank_statement_import_camt: switch name and note
This commit is contained in:
@@ -3,7 +3,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': '9.0.1.0.0',
|
'version': '9.0.1.0.1',
|
||||||
'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',
|
||||||
|
|||||||
@@ -54,12 +54,12 @@ class CamtParser(models.AbstractModel):
|
|||||||
'./ns:RmtInf/ns:Ustrd',
|
'./ns:RmtInf/ns:Ustrd',
|
||||||
'./ns:AddtlNtryInf',
|
'./ns:AddtlNtryInf',
|
||||||
'./ns:Refs/ns:InstrId',
|
'./ns:Refs/ns:InstrId',
|
||||||
], transaction, 'note', join_str='\n')
|
], transaction, 'name', join_str='\n')
|
||||||
# name
|
# name
|
||||||
self.add_value_from_node(
|
self.add_value_from_node(
|
||||||
ns, node, [
|
ns, node, [
|
||||||
'./ns:AddtlTxInf',
|
'./ns:AddtlTxInf',
|
||||||
], transaction, 'name', join_str='\n')
|
], transaction, 'note', join_str='\n')
|
||||||
# eref
|
# eref
|
||||||
self.add_value_from_node(
|
self.add_value_from_node(
|
||||||
ns, node, [
|
ns, node, [
|
||||||
|
|||||||
Reference in New Issue
Block a user