summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorandreparames <github@andreparames.com>2015-07-03 15:20:01 +0100
committerMartin Trigaux <mat@odoo.com>2015-07-08 15:00:32 +0200
commit067fd2f342486e6b9bec3201af38fece9bcf42e7 (patch)
tree5d67a553f539811014eb12a40e26850da026d657 /addons/analytic_user_function/analytic_user_function.py
parenta35af81e6a64b45c84ee56f6309e784f6d846fcc (diff)
[FIX] models: don't assume ids are ints in sorted()
Some models (e.g. calendar.event), use "virtual" ids which are not represented as integers. It was not possible to use sorted method on those models as calling int() is failing. This commit fixes the method, making it agnostic to the type of the 'id' member variable. Fixes #7454
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions