add support for ebics 3.0

This commit is contained in:
Luc De Meyer
2022-11-18 10:27:25 +01:00
parent aad1297223
commit 7313e49257
8 changed files with 173 additions and 21 deletions

View File

@@ -51,7 +51,11 @@ class EbicsConfig(models.Model):
help="Contact your bank to get the EBICS URL.",
)
ebics_version = fields.Selection(
selection=[("H003", "H003 (2.4)"), ("H004", "H004 (2.5)")],
selection=[
("H003", "H003 (2.4)"),
("H004", "H004 (2.5)"),
("H005", "H005 (3.0)"),
],
string="EBICS protocol version",
readonly=True,
states={"draft": [("readonly", False)]},