mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
Merge pull request #87 from Noviat/16-fix-passphrase
[16.0] fix change passphrase
This commit is contained in:
commit
4d0dd78444
@ -45,7 +45,7 @@ class EbicsChangePassphrase(models.TransientModel):
|
|||||||
keyring.change_passphrase(self.new_pass)
|
keyring.change_passphrase(self.new_pass)
|
||||||
except ValueError as err:
|
except ValueError as err:
|
||||||
raise UserError(str(err)) from 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."
|
self.note = "The EBICS Passphrase has been changed."
|
||||||
|
|
||||||
module = __name__.split("addons.")[1].split(".")[0]
|
module = __name__.split("addons.")[1].split(".")[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user