diff options
| author | qmo-odoo <qmo@odoo.com> | 2019-10-14 12:36:23 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-01-15 10:02:35 +0000 |
| commit | b4cbad1bedc666c234dfa0809602341dbf8e7246 (patch) | |
| tree | 5bb8cdddadc0db1f5db1255c159434a5747a32e1 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 66ce1e630212d82c3d734af7a176beafb2cef5f7 (diff) | |
[IMP] mass_mailing_crm: Improve lead/opportunity computation
Prior to this commit, two fields were used for lead and opportunities
count.
As both of these fields were set with the same values and only existed
for labelling purposes, this commit replaces them by a single field
and handles the the labels in the xml.
This commit also improves the way lead count is computed by using
a read_group instead of a search in a loop.
LINKS:
closes odoo/odoo#38707
Taskid: 2086863
Pr: #38707
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
