From bf9561e3759a47c115c1b79961f55d1956882425 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Sun, 5 Mar 2023 21:27:01 +0100 Subject: [PATCH] fix non-stored passphrase --- account_ebics/wizards/ebics_xfer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/account_ebics/wizards/ebics_xfer.py b/account_ebics/wizards/ebics_xfer.py index 55bc2fc..c914cbf 100644 --- a/account_ebics/wizards/ebics_xfer.py +++ b/account_ebics/wizards/ebics_xfer.py @@ -134,6 +134,10 @@ class EbicsXfer(models.TransientModel): if len(ebics_userids) == 1: self.ebics_userid_id = ebics_userids + @api.onchange("ebics_userid_id") + def _onchange_ebics_userid_id(self): + self.ebics_passphrase = self.ebics_passphrase_stored + @api.onchange("upload_data") def _onchange_upload_data(self): self.upload_fname_dummy = self.upload_fname