[IMP] project: add "view tasks" button in project list view

In this commit we introduce a button in the project list view
which, if clicked, redirects the user to the project task
kanban, where they can see the project's tasks.

This change gives the user the posibility of directly viewing
a project's tasks from the project list view without needing
to go through the form view, thus increasing efficiency.

Task-2969697

closes odoo/odoo#99892

Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
Panagiotis Kyriakou
2022-10-07 16:45:42 +02:00
parent 3ab8b6ae81
commit b7a7fb5655
+1
View File
@@ -697,6 +697,7 @@
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}" optional="hide"/>
<field name="last_update_status" string="Status" nolabel="1" optional="show" widget="status_with_color" options="{'color_field': 'last_update_color', 'hide_label': True}"/>
<field name="stage_id" options="{'no_open': True}" optional="show"/>
<button string="View Tasks" name="action_view_tasks" type="object"/>
</tree>
</field>
</record>