c5c369355d095312d44a4793d6b77f7841577c12
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.
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%