diff --git a/account_ebics/__manifest__.py b/account_ebics/__manifest__.py index 07daf4d..506a99d 100644 --- a/account_ebics/__manifest__.py +++ b/account_ebics/__manifest__.py @@ -3,7 +3,7 @@ { 'name': 'EBICS banking protocol', - 'version': '11.0.1.7.0', + 'version': '12.0.1.0.0', 'license': 'AGPL-3', 'author': 'Noviat', 'category': 'Accounting & Finance', diff --git a/account_ebics/models/ebics_config.py b/account_ebics/models/ebics_config.py index 711ea84..af52e0f 100644 --- a/account_ebics/models/ebics_config.py +++ b/account_ebics/models/ebics_config.py @@ -371,7 +371,7 @@ class EbicsConfig(models.Model): tmp_dir = os.path.normpath(self.ebics_files + '/tmp') if not os.path.isdir(tmp_dir): os.makedirs(tmp_dir, mode=0o700) - fn_date = fields.Date.today() + fn_date = fields.Date.today().isoformat() fn = '_'.join([self.ebics_host, 'ini_letter', fn_date]) + '.pdf' full_tmp_fn = os.path.normpath(tmp_dir + '/' + fn) user.create_ini_letter( @@ -427,7 +427,7 @@ class EbicsConfig(models.Model): tmp_dir = os.path.normpath(self.ebics_files + '/tmp') if not os.path.isdir(tmp_dir): os.makedirs(tmp_dir, mode=0o700) - fn_date = fields.Date.today() + fn_date = fields.Date.today().isoformat() fn = '_'.join([self.ebics_host, 'public_bank_keys', fn_date]) + '.txt' self.write({ 'ebics_public_bank_keys': base64.encodestring(public_bank_keys), diff --git a/account_ebics/views/ebics_config.xml b/account_ebics/views/ebics_config.xml index dc4e2db..fd51728 100644 --- a/account_ebics/views/ebics_config.xml +++ b/account_ebics/views/ebics_config.xml @@ -50,7 +50,6 @@ -