[FIX] mail: when checking for possible messages to fetch, perform
authorThibault Delavallée <tde@openerp.com>
Fri, 22 Aug 2014 10:59:18 +0000 (12:59 +0200)
committerThibault Delavallée <tde@openerp.com>
Fri, 22 Aug 2014 11:36:54 +0000 (13:36 +0200)
commit3211ff7c780dcddf67278a3a616ecc84f9ad578a
tree0d5c193cfd46ac6789fa05e8bfff76f9ccb93549
parent10be95407a96e2bc7457b790213e42f9b0009a07
[FIX] mail: when checking for possible messages to fetch, perform
a search_count on mail_message when the actual number of messages or their
ids is not necessary, to speedup the computation.
addons/mail/mail_message.py