Merge pull request #90 from Noviat/13-fix-passhrase

[13.0] fix change passphrase
This commit is contained in:
Luc De Meyer 2023-04-11 22:34:07 +02:00 committed by GitHub
commit 8438a10c57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ class EbicsChangePassphrase(models.TransientModel):
keyring.change_passphrase(self.new_pass) keyring.change_passphrase(self.new_pass)
except ValueError as e: except ValueError as e:
raise UserError(str(e)) raise UserError(str(e))
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." self.note = "The EBICS Passphrase has been changed."
module = __name__.split('addons.')[1].split('.')[0] module = __name__.split('addons.')[1].split('.')[0]