[CLEAN] Use none or false, but not both on two lines ...
This commit is contained in:
parent
15e874b5c8
commit
13ac3865d5
|
@ -256,7 +256,7 @@ class website_sale(http.Controller):
|
|||
# must have a draft sale order with lines at this point, otherwise reset
|
||||
if not order or order.state != 'draft':
|
||||
request.session['sale_order_id'] = None
|
||||
request.session['sale_transaction_id'] = False
|
||||
request.session['sale_transaction_id'] = None
|
||||
return request.redirect('/shop')
|
||||
|
||||
# if transaction pending / done: redirect to confirmation
|
||||
|
|
Loading…
Reference in New Issue