mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-22 20:22:03 +00:00
fix 3SKey init check
This commit is contained in:
parent
b5ba6fc6bd
commit
a673a4bb3d
@ -210,7 +210,7 @@ class EbicsUserID(models.Model):
|
||||
raise UserError(
|
||||
_("Set a passphrase."))
|
||||
|
||||
if not self.swift_3skey and not self.swift_3skey_certificate:
|
||||
if self.swift_3skey and not self.swift_3skey_certificate:
|
||||
raise UserError(
|
||||
_("3SKey certificate missing."))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user