[FIX] website_event
bzr revid: chm@openerp.com-20130805150514-9zfut5y6xda3rpyx
This commit is contained in:
parent
4b8a51f3af
commit
81d707978e
|
@ -110,7 +110,7 @@ class website_hr(http.Controller):
|
|||
if not post:
|
||||
return werkzeug.utils.redirect("/event/%s/" % event_id)
|
||||
|
||||
return werkzeug.utils.redirect("/shop/checkout" % event_id)
|
||||
return werkzeug.utils.redirect("/shop/checkout")
|
||||
|
||||
@http.route(['/event/publish'], type='http', auth="public")
|
||||
def publish(self, **post):
|
||||
|
|
|
@ -168,7 +168,7 @@
|
|||
<span t-att-class="'label label-important js_publish %%s' %% (event_id.website_published and 'hidden' or '')">Click to Publish</span>
|
||||
</a>
|
||||
<h4>Ticket Information</h4>
|
||||
<form t-att-action="'/event/%%s/add_cart' %% event_id.id">
|
||||
<form t-att-action="'/event/%%s/add_cart' %% event_id.id" method="post">
|
||||
<div t-foreach="event_id.product_ids" t-as="prod">
|
||||
<span t-field="prod.product_id"/>
|
||||
<span t-field="prod.price"/>
|
||||
|
|
Loading…
Reference in New Issue