diff options
| author | andreparames <github@andreparames.com> | 2015-07-03 15:20:01 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-07-08 15:00:32 +0200 |
| commit | 067fd2f342486e6b9bec3201af38fece9bcf42e7 (patch) | |
| tree | 5d67a553f539811014eb12a40e26850da026d657 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | a35af81e6a64b45c84ee56f6309e784f6d846fcc (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_view.xml')
0 files changed, 0 insertions, 0 deletions
