Don't empty out comment and invoice address when closing order.
This commit is contained in:
parent
5359ca6a35
commit
24c95a82fd
|
@ -372,8 +372,6 @@ class OrderReviewAndPayView(
|
||||||
# Set payment method and mark the order as closed
|
# Set payment method and mark the order as closed
|
||||||
order.payment_method = payment_method
|
order.payment_method = payment_method
|
||||||
order.open = None
|
order.open = None
|
||||||
order.customer_comment = request.POST.get("customer_comment") or ""
|
|
||||||
order.invoice_address = request.POST.get("invoice_address") or ""
|
|
||||||
order.save()
|
order.save()
|
||||||
|
|
||||||
reverses = {
|
reverses = {
|
||||||
|
|
Loading…
Reference in a new issue