gestion des demandes d'évolution pour le centre kalachakra non géré dans les module booking et opendons
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
578 B

# -*- coding: utf-8 -*-
from odoo import http
from odoo.http import request
import werkzeug
from odoo.tools import format_datetime, format_date, is_html_empty
from odoo.exceptions import UserError
from odoo.addons.website_event.controllers.main import WebsiteEventController
class kalachakra_event(WebsiteEventController):
def _extract_searched_event_tags(self, searches):
tags = request.env['event.tag']
if searches.get('tags'):
tags = request.env['event.tag'].search([('name', '=', searches['tags'])])
return tags