diff --git a/openslides/motions/views.py b/openslides/motions/views.py index 53b3af896..eaaf2b06b 100644 --- a/openslides/motions/views.py +++ b/openslides/motions/views.py @@ -157,7 +157,13 @@ class MotionViewSet(ModelViewSet): # Remove fields that the user is not allowed to send. # The list() is required because we want to use del inside the loop. keys = list(request.data.keys()) - whitelist = ["title", "text", "reason", "category_id"] + whitelist = [ + "title", + "text", + "reason", + "category_id", + "statute_paragraph_id", + ] if parent_motion is not None: # For creating amendments. whitelist.extend(