From 973147e2186e898d1651c22e30df34f5caf6bb31 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Fri, 29 Mar 2024 09:17:06 +0100 Subject: [PATCH] [FIX]fix change_passphrase --- account_ebics/__manifest__.py | 2 +- account_ebics/wizards/ebics_change_passphrase.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/account_ebics/__manifest__.py b/account_ebics/__manifest__.py index a8457df..c0822b0 100644 --- a/account_ebics/__manifest__.py +++ b/account_ebics/__manifest__.py @@ -3,7 +3,7 @@ { "name": "EBICS banking protocol", - "version": "17.0.1.0.1", + "version": "17.0.1.0.2", "license": "LGPL-3", "author": "Noviat", "website": "https://www.noviat.com", diff --git a/account_ebics/wizards/ebics_change_passphrase.py b/account_ebics/wizards/ebics_change_passphrase.py index b4b206d..05b05b6 100644 --- a/account_ebics/wizards/ebics_change_passphrase.py +++ b/account_ebics/wizards/ebics_change_passphrase.py @@ -1,4 +1,4 @@ -# Copyright 2009-2023 Noviat. +# Copyright 2009-2024 Noviat. # License LGPL-3 or later (http://www.gnu.org/licenses/lgpl). import logging @@ -76,7 +76,7 @@ class EbicsChangePassphrase(models.TransientModel): "passphrase": passphrase, } if self.new_sig_pass: - keyring_params["sig_passphrase"] = self.old_sig_pass + keyring_params["sig_passphrase"] = self.old_sig_pass or None keyring = EbicsKeyRing(**keyring_params) change_params = {} if self.new_pass: