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