Skip to content

Commit

Permalink
Merge pull request #1379 from open-zaak/issue-1354-make-verzoek-optional
Browse files Browse the repository at this point in the history
[#1354] Ensuring OIO 'verzoek' field can be left empty via the Open Z…
  • Loading branch information
annashamray committed Jun 20, 2023
2 parents ab0acbb + d37c6fe commit ae8690c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/openzaak/components/documenten/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ class ObjectInformatieObject(CMISETagMixin, models.Model, CMISClientMixin):
source_field=_object_url,
allow_write_when=lambda instance: instance.object_type
== ObjectInformatieObjectTypes.verzoek,
blank=True,
)

_zaak = models.ForeignKey(
Expand Down

0 comments on commit ae8690c

Please sign in to comment.