from odoo import http from odoo.http import request class TimesheetController(http.Controller): @http.route('/timesheet/form', auth='user', website=True) def timesheet_form(self, **kw): # This will render the template for the timesheet form return request.render('timesheet_form', {})