New implementation of sales channels (#4111)

Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
Raphael Michel
2024-06-30 19:24:30 +02:00
committed by GitHub
co-authored by Martin Gross
parent 95511b0330
commit 4fb5c6bef0
174 changed files with 2902 additions and 616 deletions
+1
View File
@@ -68,6 +68,7 @@ def position(event, item):
datetime=now() - timedelta(days=4),
expires=now() - timedelta(hours=4) + timedelta(days=10),
total=Decimal('23.00'),
sales_channel=event.organizer.sales_channels.get(identifier="web"),
)
return OrderPosition.objects.create(
order=order, item=item, variation=None,