summaryrefslogtreecommitdiff
path: root/addons/base_import/static/lib/javascript-state-machine/state-machine.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2018-09-18 10:26:43 +0200
committerMartin Trigaux <mat@odoo.com>2018-09-18 10:51:10 +0200
commit6dec0bc308616fb4c5818470c7fed112bde2517c (patch)
treeccbcf128b140b27531cc1cfaa3fd4246e201fd94 /addons/base_import/static/lib/javascript-state-machine/state-machine.js
parent69af1df70a406d9574df05209eeb16f333314f40 (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/base_import/static/lib/javascript-state-machine/state-machine.js')
0 files changed, 0 insertions, 0 deletions