From 3a67203a0dfc39eeb5766bea9d90b39b5fb5371a Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Mon, 16 Nov 2020 15:00:18 +0100 Subject: [PATCH] Force a OCM seat-change if the subevent has changed --- src/pretix/control/views/orders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/control/views/orders.py b/src/pretix/control/views/orders.py index 4ff7cec92..06256f386 100644 --- a/src/pretix/control/views/orders.py +++ b/src/pretix/control/views/orders.py @@ -1516,7 +1516,7 @@ class OrderChange(OrderView): elif change_subevent is not None: ocm.change_subevent(p, *change_subevent) - if p.form.cleaned_data.get('seat') and (not p.seat or p.form.cleaned_data['seat'] != p.seat.seat_guid): + if p.form.cleaned_data.get('seat') and (not p.seat or p.form.cleaned_data['seat'] != p.seat.seat_guid or change_subevent): ocm.change_seat(p, p.form.cleaned_data['seat']) if p.form.cleaned_data['price'] is not None and p.form.cleaned_data['price'] != p.price: