diff options
| author | Denis Ledoux <dle@openerp.com> | 2013-11-19 14:51:43 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@openerp.com> | 2013-11-19 14:51:43 +0100 |
| commit | 2c48cd977b253f7b831aed62005d87a3a5bcc782 (patch) | |
| tree | a362406e97f3716988d2fcbe9112437a61a12b3a /addons/analytic_user_function/__init__.py | |
| parent | 523b10fe448c6de94a8b7973c645cc682ab4267e (diff) | |
| parent | 20f10d574aa134c70ba52d1c246210cd1d5c5e47 (diff) | |
[FIX] [IMP] mail: refactored code of message_auto_subscribe.
This new code allows faster computation, because it avoids
- searching in a many2many relationship that is very costly in production
databases, because it is replaced by an 'id in [ids]' equivalent leaf
that can be huge.
- browsing in a create/write (should also lessen the number of issues
about read access rights in create)
A new optionnal parameter is given to the method, that are the
modified values. If this is not given (compatibility-mode) the
records are browsed to fetch the value.
bzr revid: dle@openerp.com-20131119135143-w4tcsnf8hdiyql0j
Diffstat (limited to 'addons/analytic_user_function/__init__.py')
0 files changed, 0 insertions, 0 deletions
