[12.0][FIX]web_timeline: fix group orders

pull/2247/head
denislour 2019-06-28 10:09:51 +07:00 committed by CarlosRoca13
parent 3d58c4d6c2
commit 6aba50a7ef
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
{
'name': "Web timeline",
'summary': "Interactive visualization chart to show events in time",
"version": "12.0.1.0.3",
"version": "12.0.1.0.4",
"development_status": "Production/Stable",
'author': 'ACSONE SA/NV, '
'Tecnativa, '

View File

@ -166,7 +166,8 @@ odoo.define('web_timeline.TimelineView', function (require) {
if (grp2.id === -1) {
return +1;
}
return grp1.content - grp2.content;
return grp1.content.locateCompare(grp2.content);
},