srikanth01234 3aead51697
Some checks are pending
CI / Brand-leak check (push) Waiting to run
CI / flake8 / pylint-odoo / manifest completeness (push) Waiting to run
CI / Install all modules with --test-enable (push) Waiting to run
Update TNCSC deployment modules, views, assets, and configs
2026-09-19 13:01:11 +05:30

15 lines
441 B
Python

from odoo import http
from odoo.http import request
try:
from odoo.addons.website_event.controllers.main import WebsiteEvent
except ImportError:
WebsiteEvent = http.Controller
class TNCSCWebsiteEvent(WebsiteEvent):
@http.route(['/event', '/event/page/<int:page>'], type='http', auth="public", website=True, sitemap=True)
def events(self, page=1, **searches):
return request.render("tncsc_deployment.page_events")