From 63db5736cbea76db9df9ff4f9a56e824c051c273 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 ++-- account_ebics_oe/README.rst | 16 +++++++++++++ account_ebics_oe/__init__.py | 0 account_ebics_oe/__manifest__.py | 21 ++++++++++++++++++ account_ebics_oe/static/description/icon.png | Bin 0 -> 17137 bytes account_ebics_oe/views/account_ebics_menu.xml | 8 +++++++ account_ebics_payment_order/__manifest__.py | 2 +- 12 files changed, 65 insertions(+), 16 deletions(-) create mode 100644 account_ebics_oe/README.rst create mode 100644 account_ebics_oe/__init__.py create mode 100644 account_ebics_oe/__manifest__.py create mode 100644 account_ebics_oe/static/description/icon.png create mode 100644 account_ebics_oe/views/account_ebics_menu.xml 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 @@ -