Skip to content

Commit 5203aa0

Browse files
💩 fix: fix broken zaaktype create due to Open Zaak update
1 parent 5d4f163 commit 5203aa0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

backend/docker-services/openzaak/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
- openzaak-dev
2727

2828
openzaak-web.local:
29-
image: openzaak/open-zaak:${OPENZAAK_VERSION:-1.21.0}
29+
image: openzaak/open-zaak:${OPENZAAK_VERSION:-latest}
3030
environment: &openzaak_web_env
3131
- DJANGO_SETTINGS_MODULE=openzaak.conf.docker
3232
- SECRET_KEY=${SECRET_KEY:-fgv=c0hz&tl*8*3m3893@m+1pstrvidc9e^5@fpspmg%cy$15d}

backend/src/openbeheer/zaaktype/constants.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
IndicatieInternOfExternEnum,
1717
ReferentieProces,
1818
VertrouwelijkheidaanduidingEnum,
19+
BronZaaktype,
20+
BronCatalogus,
1921
)
2022
from openbeheer.zaaktype.api.views import ExpandableZaakTypeRequest
2123

@@ -278,8 +280,8 @@ def __post_init__(self):
278280
),
279281
"selectielijst_procestype": "",
280282
"verantwoordelijke": "De verantwoordelijke (soort) organisatie.",
281-
"broncatalogus": make_fields_optional(Catalogus)(url="", domein="", rsin=""),
282-
"bronzaaktype": OptionalZaakType(identificatie="", omschrijving=""),
283+
"broncatalogus": BronCatalogus(url="", domein="", rsin=""),
284+
"bronzaaktype": BronZaaktype(url="", identificatie="", omschrijving=""),
283285
"begin_geldigheid": date.today(),
284286
"versiedatum": date.today(),
285287
"catalogus": "",

0 commit comments

Comments
 (0)