Create under your module a folder controller, in that folder create files controller.py and __init__.py and link your new file in __init__.py, don’t forget to add controller folder in the __init__.py at the root folder of your module. controller.py code bellow will make available the URL www.myodoo.com/page/random/random_variable, random_variable value will be stored in values dictionary on key variable. import openerp.http as http from openerp.http import request import logging _logger = logging.getLogger(__name__) class Controller(http.Controller): @http.route([’/page/random/<string:variable>’], type=’http’, auth="user", methods=[’GET’], website=True) def view(self, **kwargs): values = dict(kwargs) object_ids = request.env[’model.name’].search([(‘your_field’,’=’, values[’variable’])]) values[’object_ids’] = object_ids values[’customer’] = object_ids[0].customer_id.name return request.render(‘module.template_id’, values) in folder view …