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_name_slugified
| Inputs | Method | Outputs |
|---|---|---|
|
for rec in self: - if not rec.model_id or not rec.page_type: + if not rec.model_id: + rec.name_slugified = False continue - rec.name_slugified = slugify(rec.page_name or '') + rec.name_slugified = self.env['ir.http']._slugify(rec.name or '') |
|
