Merge branch '16-fix-change_passphrase' into '16.0'

[FIX]fix change_passphrase

See merge request Noviat/Noviat_Generic/accounting-ebics!36
This commit is contained in:
Luc De Meyer 2024-03-29 08:23:57 +00:00
commit 71bf9c0ac8
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
{
"name": "EBICS banking protocol",
"version": "16.0.1.9.1",
"version": "16.0.1.9.2",
"license": "LGPL-3",
"author": "Noviat",
"website": "https://www.noviat.com/",

View File

@ -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: