Skip to content

Commit e727954

Browse files
[#233] Update klantinteracties.json and help_text in migrations
1 parent 634a0f3 commit e727954

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

src/openklant/components/klantinteracties/migrations/0024_alter_partijidentificator_partij_identificator_code_objecttype_and_more.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated by Django 4.2.15 on 2024-12-20 11:34
1+
# Generated by Django 4.2.15 on 2024-12-23 13:15
22

33
import django.core.validators
44
from django.db import migrations, models
@@ -22,7 +22,7 @@ class Migration(migrations.Migration):
2222
("vestiging", "Vestiging"),
2323
("overige", "Overige"),
2424
],
25-
help_text="Type van het object, bijvoorbeeld: 'INGESCHREVEN NATUURLIJK PERSOON'.",
25+
help_text="Type van het object, bijvoorbeeld: 'NATUURLIJK PERSOON'.",
2626
max_length=200,
2727
verbose_name="objecttype",
2828
),
@@ -50,7 +50,7 @@ class Migration(migrations.Migration):
5050
("rsin", "Rsin"),
5151
("overige", "Overige"),
5252
],
53-
help_text="Naam van de eigenschap die het object identificeert, bijvoorbeeld: 'Burgerservicenummer'.",
53+
help_text="Naam van de eigenschap die het object identificeert, bijvoorbeeld: 'Bsn'.",
5454
max_length=200,
5555
verbose_name="soort object ID",
5656
),

src/openklant/components/klantinteracties/models/partijen.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -355,17 +355,15 @@ class PartijIdentificator(models.Model):
355355
# Partij-identificator fields
356356
partij_identificator_code_objecttype = models.CharField(
357357
_("objecttype"),
358-
help_text=_(
359-
"Type van het object, bijvoorbeeld: 'INGESCHREVEN NATUURLIJK PERSOON'."
360-
),
358+
help_text=_("Type van het object, bijvoorbeeld: 'NATUURLIJK PERSOON'."),
361359
choices=PartijIdentificatorCodeObjectType.choices,
362360
max_length=200,
363361
blank=True,
364362
)
365363
partij_identificator_code_soort_object_id = models.CharField(
366364
_("soort object ID"),
367365
help_text=_(
368-
"Naam van de eigenschap die het object identificeert, bijvoorbeeld: 'Burgerservicenummer'."
366+
"Naam van de eigenschap die het object identificeert, bijvoorbeeld: 'Bsn'."
369367
),
370368
choices=PartijIdentificatorCodeSoortObjectId.choices,
371369
max_length=200,

src/openklant/fixtures/klantinteracties.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@
340340
"uuid": "dd328a2e-7b8e-4809-be28-f9f894c11c34",
341341
"partij": 1,
342342
"andere_partij_identificator": "",
343-
"partij_identificator_code_objecttype": "INGESCHREVEN NATUURLIJK PERSOON",
344-
"partij_identificator_code_soort_object_id": "Burgerservicenummer",
345-
"partij_identificator_object_id": "123456788",
346-
"partij_identificator_code_register": "BRP"
343+
"partij_identificator_code_objecttype": "natuurlijk_persoon",
344+
"partij_identificator_code_soort_object_id": "bsn",
345+
"partij_identificator_object_id": "296648875",
346+
"partij_identificator_code_register": "brp"
347347
}
348348
},
349349
{

0 commit comments

Comments
 (0)