Steps to reproduce ================== - Login as a user with no rights - Use a mobile viewport - Create a new Maintenance Request - Edit the Created By field -> A traceback occurs because the user has no rights Solution ======== We extend the Many2OneField to accept a relation option and Depending on whether the user has the rights, use the correct one. This is similar to 41eaff0f4c17 opw-3430105 closes odoo/odoo#133261 X-original-commit: e78998c2951ec906fbccbe24e3fa454711a37c2b Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com> Signed-off-by: Hubert Van De Walle <huvw@odoo.com>