diff options
| author | mariuszmizgier <mariusz.mizgier@currenda.pl> | 2015-05-16 15:35:07 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-06-24 12:12:19 +0200 |
| commit | 859eb2511e3c319c082847b18daefbd799103ae2 (patch) | |
| tree | 1e231887d0ca2662002a708c57249a1e610556e2 /addons/analytic_user_function | |
| parent | bdc4c5a55e181c75243e435d5ed8d4c3d5bbdcee (diff) | |
[FIX] mail: Mail message performance improvement
As of version 8.0, search_count method has been implemented
Usage in this place is not needed though,
as we just need to know if there are messages in domain,
not the exact number of them.
Due to that we replace method search_count with search and add a limit of 1,
which provides better performances.
Fixes #6670
Closes #6679
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
