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

Module: Mail Whatsapp Gateway

Entity: mail.gateway

Compute Method: _compute_whatsapp_template_count

Inputs Method Outputs
for gateway in self:
            gateway.whatsapp_template_count = len(gateway.whatsapp_template_ids)

Back to entity