fix non-stored passphrase

This commit is contained in:
Luc De Meyer 2023-03-05 21:27:01 +01:00
parent 43f242e446
commit bf9561e375

View File

@ -134,6 +134,10 @@ class EbicsXfer(models.TransientModel):
if len(ebics_userids) == 1: if len(ebics_userids) == 1:
self.ebics_userid_id = ebics_userids 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") @api.onchange("upload_data")
def _onchange_upload_data(self): def _onchange_upload_data(self):
self.upload_fname_dummy = self.upload_fname self.upload_fname_dummy = self.upload_fname