[FIX] Remove double return
bzr revid: jke@openerp.com-20140410114048-hw26q9x0dm11wbqc
This commit is contained in:
parent
986b445fed
commit
a3016b4d95
|
@ -414,9 +414,7 @@ class Ecommerce(http.Controller):
|
||||||
order = self.get_order()
|
order = self.get_order()
|
||||||
return [quantity,
|
return [quantity,
|
||||||
order.get_number_of_products()]
|
order.get_number_of_products()]
|
||||||
|
|
||||||
return quantity
|
|
||||||
|
|
||||||
@http.route(['/shop/checkout/'], type='http', auth="public", website=True, multilang=True)
|
@http.route(['/shop/checkout/'], type='http', auth="public", website=True, multilang=True)
|
||||||
def checkout(self, **post):
|
def checkout(self, **post):
|
||||||
cr, uid, context, registry = request.cr, request.uid, request.context, request.registry
|
cr, uid, context, registry = request.cr, request.uid, request.context, request.registry
|
||||||
|
|
Loading…
Reference in New Issue