diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-09-01 17:40:47 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-09-01 17:40:47 +0200 |
| commit | 40e843761f56e1d374937152bc0e2d89eb6f2672 (patch) | |
| tree | cf9ec69ac2ab77bd3efe297f27f56c8d55842928 /addons/analytic_user_function/analytic_user_function.py | |
| parent | 24c25f506c185d2841cef51ffb576ea29eb87221 (diff) | |
[FIX] gamification: performance improvement
On a large database, thousands of badges may have been granted. This code used to prefetch all fields of the users and badge users. This was highly inefficient. Replace this code by SQL query.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
