From 40 ms to 0.3 ms From 1440 to 1341 request when crating 100 SO Before this commit, the res_id field of the rating mixin was a simple integer. It worked but the cache of the rated record was not be updated when new rating were created. This commit change it to a Many2oneReference to improve this behavior. closes odoo/odoo#90968 X-original-commit: 1a6dd617a3c3be106e6fc7f1924243bca368edf7 Related: odoo/enterprise#27143 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> Signed-off-by: Arnaud Joset <arj@odoo.com>