[FIX] [IMP] mail: mail_message: when checking that access rights are not
authorThibault Delavallée <tde@openerp.com>
Fri, 22 Aug 2014 11:36:31 +0000 (13:36 +0200)
committerThibault Delavallée <tde@openerp.com>
Fri, 22 Aug 2014 11:36:54 +0000 (13:36 +0200)
commit863b361707c4f2990e05bf798d2f76b199326318
treeb5574493ab0c3b4ef63134b7697b2329a5c877f1
parent3211ff7c780dcddf67278a3a616ecc84f9ad578a
[FIX] [IMP] mail: mail_message: when checking that access rights are not
violated in _search, do it in SQL to speedup the query. Indeed doing it via search and
browsing the results to validate the various rules is quite costly.
addons/mail/mail_message.py