[FIX] website_event_sale: remove invalid code chunk introduced during previous forwar...
authorChristophe Simonis <chs@odoo.com>
Sat, 13 Sep 2014 15:00:51 +0000 (17:00 +0200)
committerChristophe Simonis <chs@odoo.com>
Sat, 13 Sep 2014 15:00:51 +0000 (17:00 +0200)
addons/website_event_sale/controllers/main.py

index ff697b1..973b2f2 100644 (file)
@@ -43,8 +43,6 @@ class website_event(website_event):
             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)