Don't empty out comment and invoice address when closing order.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-07-09 21:03:51 +02:00
parent 5359ca6a35
commit 24c95a82fd

View file

@ -372,8 +372,6 @@ class OrderReviewAndPayView(
# Set payment method and mark the order as closed
order.payment_method = payment_method
order.open = None
order.customer_comment = request.POST.get("customer_comment") or ""
order.invoice_address = request.POST.get("invoice_address") or ""
order.save()
reverses = {