diff options
| author | Christophe Simonis <chs@odoo.com> | 2014-08-12 18:38:55 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2014-08-12 18:38:55 +0200 |
| commit | 1644708fe8e77d7527e9cfc50fdf2e28c55bf111 (patch) | |
| tree | 5de22af7ca0b952cb393e3fa4afe042eefe77816 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 726725a950b1b1ef3a2081abda1beae2febd05fd (diff) | |
[IMP] models.py: _auto_init: accelerate row existance check
Using `COUNT(1)` on big table can be slow. Use `min(id)` which use
pkey index to have a quicker response
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
