[ADD] project_usability_misc: Add "All Tasks" menu item
This commit is contained in:
22
project_usability_misc/views/project_task.xml
Normal file
22
project_usability_misc/views/project_task.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- Define the action for All Tasks -->
|
||||
<record id="action_all_tasks" model="ir.actions.act_window">
|
||||
<field name="name">All Tasks</field>
|
||||
<field name="res_model">project.task</field>
|
||||
<field name="view_mode">kanban,tree,form,calendar,pivot,graph,activity</field>
|
||||
<field name="context">{}</field>
|
||||
<field name="search_view">project.view_task_search_form_extended</field>
|
||||
</record>
|
||||
|
||||
<!-- Add a menu item for All Tasks -->
|
||||
<menuitem
|
||||
id="menu_all_tasks"
|
||||
name="All Tasks"
|
||||
parent="project.menu_main_pm"
|
||||
action="project_usability_misc.action_all_tasks"
|
||||
sequence="9"
|
||||
/>
|
||||
</data>
|
||||
</odoo>
|
Reference in New Issue
Block a user