Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Website

Entity: website.controller.page

Compute Method: _compute_url_demo

Inputs Method Outputs
for rec in self:
            if not rec.name_slugified:
                rec.url_demo = ""
                continue
            url = ["", "model", rec.name_slugified]
            rec.url_demo = "/".join(url)

Back to entity