[11.0][FIX]web_timeline: fix group orders

This commit is contained in:
Jean-Charles Drubay
2019-05-14 17:41:59 +07:00
committed by OCA-git-bot
parent 154ae149f4
commit 37f4017123

View File

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