Skip to content

Commit

Permalink
Merge pull request #275 from VNG-Realisatie/issue/#2157_1.5_remove_re…
Browse files Browse the repository at this point in the history
…sultaattoelichting

update: migrations and remove resultaattoelichting
  • Loading branch information
MatthijsBekendam authored Sep 25, 2023
2 parents 415fa17 + 18ccfd2 commit 08c99df
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/zrc/api/serializers/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ class Meta:
"resultaat",
"opdrachtgevende_organisatie",
"processobjectaard",
"resultaattoelichting",
"startdatum_bewaartermijn",
"processobject",
)
Expand Down
1 change: 0 additions & 1 deletion src/zrc/datamodel/admin/base_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ class ZaakAdmin(admin.ModelAdmin):
"selectielijstklasse",
"opdrachtgevende_organisatie",
"processobjectaard",
"resultaattoelichting",
"startdatum_bewaartermijn",
),
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.14 on 2023-09-19 07:11

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("datamodel", "0098_alter_rol_contactpersoon_naam"),
]

operations = [
migrations.RemoveField(
model_name="zaak",
name="resultaattoelichting",
),
]
7 changes: 0 additions & 7 deletions src/zrc/datamodel/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,6 @@ class Zaak(ETagMixin, APIMixin, models.Model):
),
)

resultaattoelichting = models.TextField(
_("resultaattoelichting"),
max_length=1000,
blank=True,
help_text=_("Een toelichting op wat het resultaat van de zaak inhoudt."),
)

startdatum_bewaartermijn = models.DateField(
_("startdatum bewaartermijn"),
null=True,
Expand Down

0 comments on commit 08c99df

Please sign in to comment.