Skip to content

Commit 56c16c4

Browse files
committed
fix none error in order confirm error
1 parent ef28323 commit 56c16c4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bakeup/shop/models.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,9 @@ def replace_message_tags(self, message, request):
10151015
"<a href='{}'>{}</a>".format(order_link, "jetzt ändern")
10161016
),
10171017
"order_link": order_link,
1018-
"point_of_sale": self.point_of_sale.name,
1018+
"point_of_sale": (
1019+
self.point_of_sale and self.point_of_sale.name or "-"
1020+
),
10191021
}
10201022
)
10211023
)

0 commit comments

Comments
 (0)