diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-09-18 10:26:43 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-09-18 10:51:10 +0200 |
| commit | 6dec0bc308616fb4c5818470c7fed112bde2517c (patch) | |
| tree | ccbcf128b140b27531cc1cfaa3fd4246e201fd94 /addons/web_editor/static/src/xml/editor.xml | |
| parent | 69af1df70a406d9574df05209eeb16f333314f40 (diff) | |
[FIX] calendar: compare display_name for empty recordset
When sorting by a many2many fields (e.g. partner_ids) with one of the record
having an empty value on the sorted field, the comparison method used to compare
and empty record (e.g. res.partner()) and a name_get result (e.g. "Agrolait").
This is because the sort_field was initialized with the result of self[field]
but never assigned a new value below.
Fallback on an empty string when no record is found
Fixes #26908
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
0 files changed, 0 insertions, 0 deletions
