[12.0][FIX]web_timeline: fix group orders

pull/1851/head
denislour 2019-06-28 10:09:51 +07:00 committed by Murtaza Mithaiwala
parent 1e0f20d744
commit 036c870ac9
1 changed files with 2 additions and 1 deletions

View File

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