summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-04-24 16:14:43 +0200
committerThibault Delavallée <tde@odoo.com>2018-05-02 11:42:24 +0200
commitc5c369355d095312d44a4793d6b77f7841577c12 (patch)
treef2a05cc0624a2e0a793d58258208fbe1286ff1b5 /addons/website/static/src/xml/website.contentMenu.xml
parent0603dab655cef084f5cce17967722d5b17ca545b (diff)
[IMP] mail, mass_mailing: clean mail body processing and mail sent post processing
Purpose is to lessen query count by avoiding to browse and/or fetch data when not necessary. This commit does two main things * first one is to avoid checking for existing statistics in mass_mailing where only checking existing of a mass_mailing on a mail to send is sufficient. It allows to avoid fetching data from statistics table; * second one is to rewrite part of the post_process code called after sending emails. Using list comprehension and mailing_id existence on mail_mail allows to save several queries on standard post flows; Most tests benefit from this code update. On overall community runbot about 3K queries are saved with those small optimizations.
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions