[8.0]fix ebics 2.4 OrderId management

This commit is contained in:
Luc De Meyer 2022-03-01 22:24:12 +01:00
parent 1f0cff2d33
commit 0eddb58d9e
2 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2009-2020 Noviat. # Copyright 2009-2022 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{ {
'name': 'EBICS banking protocol', 'name': 'EBICS banking protocol',
'version': '8.0.1.6.1', 'version': '8.0.1.6.2',
'license': 'AGPL-3', 'license': 'AGPL-3',
'author': 'Noviat', 'author': 'Noviat',
'category': 'Accounting & Finance', 'category': 'Accounting & Finance',

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2009-2018 Noviat. # Copyright 2009-2022 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
""" """
@ -327,7 +327,8 @@ class EbicsXfer(models.TransientModel):
tb = ''.join(format_exception(*exc_info())) tb = ''.join(format_exception(*exc_info()))
self.note += '\n%s' % tb self.note += '\n%s' % tb
if self.ebics_config_id.ebics_version == 'H003' and OrderID: if self.ebics_config_id.ebics_version == 'H003':
OrderID = self.ebics_config_id._get_order_number()
self.ebics_config_id._update_order_number(OrderID) self.ebics_config_id._update_order_number(OrderID)
return ebics_file return ebics_file