Commit 9f2e42cb authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch 'cherry-pick-2fb4a6e2' into 'release/1.13'

Cherrypick 'fix/567-pizzas-order-status-change' into 'release/1.13'

See merge request !715
parents 0ba1c7e4 415cd495
......@@ -38,6 +38,6 @@ class AdminOrderSerializer(serializers.ModelSerializer):
'member': _('Either specify a member or a name'),
'name': _('Either specify a member or a name'),
if not (attrs.get('member') or attrs.get('name')):
if not (attrs.get('member') or attrs.get('name')) and not self.partial:
attrs['member'] = self.context['request'].member
return super().validate(attrs)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment