[FIX] calendar: Invalid leaf in join route
This commit fixes an invalid leaf in join route Follows up: https://github.com/odoo/odoo/pull/68022 LINKS: closes odoo/odoo#69242 Taskid: 2499471 Pr: #69103 X-original-commit: 9e4cba257d0d44fa52d6783e67a363e5cf6b7735 Related: odoo/enterprise#17677 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -90,7 +90,7 @@ class CalendarController(http.Controller):
|
||||
if not event:
|
||||
return request.not_found()
|
||||
event.action_join_meeting(request.env.user.partner_id.id)
|
||||
attendee = request.env['calendar.attendee'].sudo().search([('partner_id', '=', request.env.user.partner_id), ('event_id', '=', event.id)])
|
||||
attendee = request.env['calendar.attendee'].sudo().search([('partner_id', '=', request.env.user.partner_id.id), ('event_id', '=', event.id)])
|
||||
return request.redirect('/calendar/meeting/view?token=%s&id=%s' % (attendee.access_token, event.id))
|
||||
|
||||
# Function used, in RPC to check every 5 minutes, if notification to do for an event or not
|
||||
|
||||
Reference in New Issue
Block a user