Skip to content

Commit

Permalink
[FIX] website_event_sale: remove invalid code chunk introduced during…
Browse files Browse the repository at this point in the history
… previous forward-port (56f2b7ae0f6)
  • Loading branch information
KangOl committed Sep 13, 2014
1 parent 56f2b7a commit a3cf66d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions addons/website_event_sale/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ def cart_update(self, event_id, **post):
ticket = ticket_obj.browse(cr, SUPERUSER_ID, ticket_id, context=context)
request.website.sale_get_order(force_create=1)._cart_update(
product_id=ticket.product_id.id, add_qty=quantity, context=dict(context, event_ticket_id=ticket.id))
if 'tax_id' in _values:
_values['tax_id'] = [(6, 0, _values['tax_id'])]

if not sale:
return request.redirect("/event/%s" % event_id)
Expand Down

0 comments on commit a3cf66d

Please sign in to comment.