From 7b07f2eb12b00cf09c1e9cd9b2d0e411c65b40ea Mon Sep 17 00:00:00 2001 From: Patrick Arminio Date: Thu, 24 Apr 2025 11:42:12 +0100 Subject: [PATCH 1/2] Allow SDI of 6 characters --- backend/billing/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/billing/validation.py b/backend/billing/validation.py index 3fe5126a25..a5368d7dda 100644 --- a/backend/billing/validation.py +++ b/backend/billing/validation.py @@ -20,7 +20,7 @@ def validate_sdi_code(sdi_code: str) -> bool: sdi_code = sdi_code.upper() - if len(sdi_code) != 7: + if len(sdi_code) not in [6, 7]: raise SdiCodeIncorrectLengthError() if not sdi_code.isalnum(): From 82dafded8df37115737953c122a831e889678262 Mon Sep 17 00:00:00 2001 From: Patrick Arminio Date: Thu, 24 Apr 2025 11:50:10 +0100 Subject: [PATCH 2/2] Bump pretix-fattura-elettronica --- pretix/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pretix/Dockerfile b/pretix/Dockerfile index 8d4b018928..9de48a9b80 100644 --- a/pretix/Dockerfile +++ b/pretix/Dockerfile @@ -6,7 +6,7 @@ RUN pip install boto3==1.35.14 \ django-storages==1.14.4 \ pretix-plugin-extended-api==0.1.14 \ pretix-plugin-attendance-certificate==0.1.11 \ - pretix-fattura-elettronica==0.2.15 \ + pretix-fattura-elettronica==0.2.16 \ pretix-plugin-advanced-stats==1.0.0 RUN cd /pretix/src && DATABASE_HOST=demo make staticfiles