mirror of
https://github.com/pretix/pretix.git
synced 2026-08-25 13:12:00 +00:00
New implementation of sales channels (#4111)
Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
co-authored by
Martin Gross
parent
95511b0330
commit
4fb5c6bef0
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user