Skip to content
Snippets Groups Projects
user avatar
Hubert Van de Walle (huvw) authored
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 41eaff0f

opw-3430105

closes odoo/odoo#132197

Signed-off-by: default avatarSofie Gvaladze (sgv) <sgv@odoo.com>
e78998c2
History
Name Last commit Last update
..