From 4b8cdfbcf960a54ceca5cf6a0be27cc1e48d130e Mon Sep 17 00:00:00 2001 From: denislour Date: Mon, 1 Jul 2019 22:27:10 +0700 Subject: [PATCH] [12.0][web_timeline] Fix bug from group_order: locale instead locate. --- web_timeline/__manifest__.py | 2 +- web_timeline/static/src/js/timeline_view.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_timeline/__manifest__.py b/web_timeline/__manifest__.py index cefa37de0..fe367e268 100644 --- a/web_timeline/__manifest__.py +++ b/web_timeline/__manifest__.py @@ -4,7 +4,7 @@ { 'name': "Web timeline", 'summary': "Interactive visualization chart to show events in time", - "version": "12.0.1.0.4", + "version": "12.0.1.0.5", "development_status": "Production/Stable", 'author': 'ACSONE SA/NV, ' 'Tecnativa, ' diff --git a/web_timeline/static/src/js/timeline_view.js b/web_timeline/static/src/js/timeline_view.js index 0a6b65a92..9c9c36245 100644 --- a/web_timeline/static/src/js/timeline_view.js +++ b/web_timeline/static/src/js/timeline_view.js @@ -167,7 +167,7 @@ odoo.define('web_timeline.TimelineView', function (require) { return +1; } - return grp1.content.locateCompare(grp2.content); + return grp1.content.localeCompare(grp2.content); },