mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-22 12:12:03 +00:00
[14.0]fix ebics 2.4 OrderId management
This commit is contained in:
parent
3a8bd5223b
commit
4e9e558e16
@ -1,9 +1,9 @@
|
|||||||
# Copyright 2009-2021 Noviat.
|
# Copyright 2009-2022 Noviat.
|
||||||
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
||||||
|
|
||||||
{
|
{
|
||||||
'name': 'EBICS banking protocol',
|
'name': 'EBICS banking protocol',
|
||||||
'version': '14.0.1.0.1',
|
'version': '14.0.1.0.2',
|
||||||
'license': 'LGPL-3',
|
'license': 'LGPL-3',
|
||||||
'author': 'Noviat',
|
'author': 'Noviat',
|
||||||
'website': 'www.noviat.com',
|
'website': 'www.noviat.com',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2009-2021 Noviat.
|
# Copyright 2009-2022 Noviat.
|
||||||
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@ -343,8 +343,9 @@ 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':
|
||||||
self.ebics_config_id._update_order_number(OrderID)
|
OrderID = self.ebics_config_id._get_order_number()
|
||||||
|
self.ebics_config_id.sudo()._update_order_number(OrderID)
|
||||||
|
|
||||||
return ebics_file
|
return ebics_file
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user