Skip to content

Commit

Permalink
Merge pull request #1390 from open-zaak/feature/selectielijst-default…
Browse files Browse the repository at this point in the history
…-year

change default value for referentielijstconfig.default_year
  • Loading branch information
annashamray committed Jun 26, 2023
2 parents 6d09059 + 26a15a6 commit 482827d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Migration(migrations.Migration):
model_name="referentielijstconfig",
name="default_year",
field=models.PositiveIntegerField(
default=2017,
default=2020,
help_text="Het jaartal dat standaard geselecteerd is bij het kiezen van een procestype bij een zaaktype.",
),
preserve_default=False,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# SPDX-License-Identifier: EUPL-1.2
# Copyright (C) 2023 Dimpact
# Generated by Django 3.2.18 on 2023-06-20 14:41

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("selectielijst", "0006_auto_20200817_1212"),
]

operations = [
migrations.AlterField(
model_name="referentielijstconfig",
name="default_year",
field=models.PositiveIntegerField(
default=2020,
help_text="Het jaartal dat standaard geselecteerd is bij het kiezen van een procestype bij een zaaktype.",
null=True,
),
),
]
1 change: 1 addition & 0 deletions src/openzaak/selectielijst/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class Meta:
"een procestype bij een zaaktype."
),
null=True,
default=2020,
)

0 comments on commit 482827d

Please sign in to comment.