mirror of
				https://github.com/brain-tec/account_ebics.git
				synced 2025-11-03 22:50:59 +00:00 
			
		
		
		
	[11.0]fix ebics 2.4 OrderId management
This commit is contained in:
		@@ -1,9 +1,9 @@
 | 
				
			|||||||
# 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': '11.0.1.7.2',
 | 
					    'version': '11.0.1.7.3',
 | 
				
			||||||
    'license': 'AGPL-3',
 | 
					    'license': 'AGPL-3',
 | 
				
			||||||
    'author': 'Noviat',
 | 
					    'author': 'Noviat',
 | 
				
			||||||
    'category': 'Accounting & Finance',
 | 
					    'category': 'Accounting & Finance',
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
# Copyright 2009-2019 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,8 +327,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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user