We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fcac08 commit 0cc5c9aCopy full SHA for 0cc5c9a
1 file changed
bakeup/workshop/exports.py
@@ -536,7 +536,7 @@ def get_data(self):
536
purchase_date = order.created.strftime("%Y-%m-%d")
537
shipping_date = ""
538
payment_date = ""
539
-
+ position_product = position.get_product()
540
row = [
541
str(order_number),
542
"item",
@@ -582,11 +582,8 @@ def get_data(self):
582
"", # state
583
"DE",
584
(
585
- str(
586
- position.product.product_template.sku
587
- or position.product.product_template.pk
588
- )
589
- if position.product
+ str(position_product.sku or position_product.pk)
+ if position_product
590
else ""
591
),
592
0 commit comments