[IMP] project: no open the user form view in project.task

Before this commit, the user can click on the user_id field in
project.task form view to see the user form view of the user linked in
the current task.

This commit adds an option (no_open=True) in this field to prevent the
user to access the user form view.

task-2440564
This commit is contained in:
Xavier BOL (xbo)
2021-02-01 13:48:00 +01:00
committed by Laurent Stukkens (LTU)
parent 1361d0720e
commit 5fb1d3a97e
+2
View File
@@ -692,6 +692,8 @@
<field name="project_id" required="1" domain="[('active', '=', True), ('company_id', '=', company_id)]"/>
<field name="user_id"
class="o_task_user_field"
options="{'no_open': True}"
widget="many2one_avatar_user"
domain="[('share', '=', False)]"/>
<field
name="parent_id"