mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Correctly copy seats when copying events
This commit is contained in:
@@ -633,6 +633,8 @@ class Event(EventMixin, LoggedModel):
|
||||
for s in other.seats.filter(subevent__isnull=True):
|
||||
s.pk = None
|
||||
s.event = self
|
||||
if s.product_id:
|
||||
s.product = item_map[s.product_id]
|
||||
s.save()
|
||||
|
||||
for s in other.settings._objects.all():
|
||||
|
||||
Reference in New Issue
Block a user