Event: copy sales_channels when copying events

This commit is contained in:
Raphael Michel
2021-05-25 09:36:53 +02:00
parent 8955efc890
commit a519310fb8
2 changed files with 4 additions and 0 deletions

View File

@@ -636,6 +636,7 @@ class Event(EventMixin, LoggedModel):
if other.date_admission:
self.date_admission = self.date_from + (other.date_admission - other.date_from)
self.testmode = other.testmode
self.sales_channels = other.sales_channels
self.save()
self.log_action('pretix.object.cloned', data={'source': other.slug, 'source_id': other.pk})