Merge branch '16-squash' into '16.0'

Merge branch '16-fix-compute_ebics_passphrase_view_modifiers' into '16.0'

See merge request Noviat/Noviat_Generic/accounting-ebics!28
This commit is contained in:
Luc De Meyer 2024-01-27 15:30:40 +00:00
commit c8643cc1cd

View File

@ -238,7 +238,7 @@ class EbicsUserID(models.Model):
rec.ebics_passphrase_required = True
rec.ebics_passphrase_store_readonly = False
elif rec.state == "init":
rec.ebics_passphrase_required = True
rec.ebics_passphrase_required = False
rec.ebics_passphrase_invisible = True
elif rec.state in ("get_bank_keys", "to_verify"):
rec.ebics_passphrase_required = not rec.ebics_passphrase