diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-11-14 12:32:31 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-11-14 12:32:31 +0100 |
| commit | cf40f4e9b0043c36b23e87a0399b919854a54e8d (patch) | |
| tree | 005ec1da2be2733f76e66712b4398ad924ba2eff /addons/analytic_user_function/analytic_user_function.py | |
| parent | 108ccbf108e1291a7ac11673f934ca3a0cd8fc96 (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: tde@openerp.com-20131114113231-oyk16t9i3m3wul6k
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
