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

Module: eCommerce

Entity: product.template

Compute Method: _compute_publish_date

Inputs Method Outputs
"""Set `publish_date` to the moment of (re-)publishing."""
self.filtered('is_published').publish_date = fields.Datetime.now()

Back to entity