diff options
| author | Jeremy Kersten <jke@odoo.com> | 2019-05-28 08:54:43 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2019-05-28 09:51:38 +0000 |
| commit | 9f56353b799c490a444385be35817dccabbccc9a (patch) | |
| tree | ad83a5eb544985a74bf3d7c677e182115156d46f /doc/_extensions/autojsdoc/parser/parser.py | |
| parent | c5bab6e240c3401e52f13c697f084b170145d520 (diff) | |
[FIX] w_profile: don't call _get_users_karma_position without users
Before this commit, if you was searching something that return no results,
you will call the sql query generating an error syntax:
Traceback:
ERROR: syntax error at or near ")"
LINE 8: WHERE sub.id IN ()
Now, we don't make more useless query if we know that there are no users.
+ preventive fix the call of this method without user_ids
This commit is related to #14667
closes odoo/odoo#33715
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'doc/_extensions/autojsdoc/parser/parser.py')
0 files changed, 0 insertions, 0 deletions
