Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: KPI Digests
Entity: digest.digest
Compute Method: _compute_kpi_mail_message_total_value
| Inputs | Method | Outputs |
|---|---|---|
|
|
- start, end, __ = self._get_kpi_compute_parameters() - self.kpi_mail_message_total_value = self.env['mail.message'].search_count([ - ('create_date', '>=', start), - ('create_date', '<', end), - ('subtype_id', '=', self.env.ref('mail.mt_comment').id), - ('message_type', 'in', ('comment', 'email', 'email_outgoing')), - ]) |
|
