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

Module: Document Page Product

Entity: document.page

Compute Method: _compute_product_template_count

Inputs Method Outputs
for item in self:
            item.product_template_count = len(item.product_tmpl_ids)

Back to entity