From 096fe7e12acb98e2c16e1184b500f16a88ebf0ac Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Thu, 17 Oct 2019 22:05:42 +0200 Subject: [PATCH] [12.0][MIG] account_ebics --- account_ebics/__manifest__.py | 2 +- account_ebics/models/ebics_config.py | 4 ++-- account_ebics/views/ebics_config.xml | 5 +++-- account_ebics/views/ebics_file.xml | 8 ++++---- account_ebics/wizard/ebics_xfer.py | 11 +++++++---- account_ebics/wizard/ebics_xfer.xml | 4 ++-- 6 files changed, 19 insertions(+), 15 deletions(-) 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 @@ -