Before this commit, if the records had to be sorted according a many2one field, and there was a sequence field on the many2one comodel, the sequence was ignored. Now, the sequence is taken into account like the actual server does. Linked to odoo/enterprise/pull/7407 closes odoo/odoo#43763 X-original-commit: 714e52f98eec5c64a224523cee4b1e14463ed191 Related: odoo/enterprise#7869 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>