Fix ticket-pdf export layout selection by saleschannel (#5482)

This commit is contained in:
Richard Schreiber
2025-09-24 09:57:38 +02:00
committed by GitHub
parent 4c76bb85a8
commit 9a54823515

View File

@@ -223,7 +223,7 @@ class AllTicketsPDF(BaseExporter):
with language(op.order.locale, o.event.settings.region):
layout = o.layout_map.get(
(op.item_id, op.order.sales_channel_id),
(op.item_id, op.order.sales_channel.identifier),
o.layout_map.get(
(op.item_id, 'web'),
o.default_layout