[FIX] project: disable opening form view from list view

Deleting record from tasks analysis report tree view has been stopped.

Issue:
If the record is opened from the list view, auto-generated from view is opened,
so the list view is restricted.

Closes #76465

task-2645891

closes odoo/odoo#77094

X-original-commit: e9ad8994c2836fcec41565c40e36784bd6152943
Related: odoo/enterprise#21136
Signed-off-by: LTU-Odoo <IT-Ideas@users.noreply.github.com>
This commit is contained in:
Prakash Prajapati
2021-09-24 12:34:57 +00:00
parent 4217e58a89
commit e67ea6afb1
@@ -28,7 +28,7 @@
<field name="name">report.project.task.user.view.tree</field>
<field name="model">report.project.task.user</field>
<field name="arch" type="xml">
<tree string="Tasks Analysis">
<tree string="Tasks Analysis" editable="top" delete="false">
<field name="name"/>
<field name="partner_id" optional="hide"/>
<field name="project_id" optional="show"/>