[15.0] fix change passphrase

This commit is contained in:
Luc De Meyer 2023-04-11 21:53:13 +02:00
parent 48594fde4a
commit 53bc0ad226

View File

@ -45,7 +45,7 @@ class EbicsChangePassphrase(models.TransientModel):
keyring.change_passphrase(self.new_pass)
except ValueError as err:
raise UserError(str(err)) from err
self.ebics_userid.ebics_passphrase = self.new_pass
self.ebics_userid_id.ebics_passphrase = self.new_pass
self.note = "The EBICS Passphrase has been changed."
module = __name__.split("addons.")[1].split(".")[0]