class WidgetController(openerp.http.Controller): @route('/web/widget/<string:widget_name>', type='json', auth='user') def widget_handler(self): pass