[FIX] project: hide the milestone option from burger menu

Before this commit, milestone is still visible in project burger
menu even if we disable the milestone feature and due to that while
creating the milestone it was generating the traceback.

So in this commit, add groups on milestone option on project burger menu.

task-2918411

closes odoo/odoo#97629

X-original-commit: 1a7e2a298c2cbf076ce96dae85805f9dd77c7e0d
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
Rohitkumar (roku)
2022-08-08 22:16:24 +02:00
committed by Barad Mahendra
parent a72c694efa
commit fada786edf
+1 -1
View File
@@ -863,7 +863,7 @@
<div role="menuitem">
<a name="action_view_tasks" type="object">Tasks</a>
</div>
<div role="menuitem">
<div role="menuitem" groups="project.group_project_milestone">
<a name="action_get_list_view" type="object">Milestones</a>
</div>
</div>