Wrong usage of self in for loops makes some apparently multi-friendly methods not work correctly when called with a recordset of len > 1. This commit replaces those references by the correct unique record reference which should be used at this iteration of the loop, avoiding potential exceptions or wrong behavior in the concerned methods. closes odoo/odoo#53320 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>