# -*- coding: utf-8 -*-
import odoo.http as http
class your_class(http.Controller):
@http.route('/custom/url', type='http', auth='user', website=True)
def show_custom_webpage(self, **kw):
# render qweb template and parse another parameter data type dictionary, so we have 2 parameter in render method.
return http.request.render('your_module.new_web_page', {})