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.page.properties.base

Compute Method: _compute_published_date

Inputs Method Outputs
for record in self:
            target = record.target_model_id
            if target and 'published_date' in target._fields:
                record.published_date = target.published_date
            else:
                record.published_date = False

Back to entity