This commit mocks the "preference_save" action on the res.users model during the test that checks that the user can modify its own preferences. This allows to ease the testing as a context reload in the middle of test steps was not handled correctly by the test runner. Task-3246086 closes odoo/odoo#116800 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>