summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2017-10-23 14:36:12 +0200
committerThibault Delavallée <tde@odoo.com>2017-10-24 10:26:23 +0200
commit55568164e8922b470df32e2f8f17a046f9962be2 (patch)
treead22d9b91857ae9599d3f34076225174715f9a54
parent6babbbbbc89a4bf3297189a725ad1c9da00f0175 (diff)
[FIX] project: fix display of project kanban reporting menu
Fixed issues * Tasks link redirecting to a Task reporting view not allowed to project user; link is not available only for project managers; * Whole : trigerring the menu that should be displayed only for project managers as it is displayed empty otherwise; This commit is XMO approved.
-rw-r--r--addons/project/views/project_views.xml12
1 files changed, 5 insertions, 7 deletions
diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml
index d288ef43862..d5f5afd6d5f 100644
--- a/addons/project/views/project_views.xml
+++ b/addons/project/views/project_views.xml
@@ -307,23 +307,21 @@
</div>
</div>
</div>
- <div class="o_kanban_card_manage_pane">
+ <div class="o_kanban_card_manage_pane" groups="project.group_project_manager">
<div class="o_kanban_card_manage_section o_kanban_manage_reports">
- <div groups="project.group_project_manager">
+ <div>
<a type="edit">Settings</a>
</div>
<div>
<a name="%(project.action_project_task_user_tree_filtered)d" type="action">Tasks</a>
</div>
</div>
- <div t-if="widget.editable" class="o_project_kanban_colorpicker">
+ <div class="o_project_kanban_colorpicker">
<ul class="oe_kanban_colorpicker" data-field="color"/>
</div>
</div>
- <div class="o_project_kanban_manage">
- <a class="o_kanban_manage_toggle_button o_left" href="#"><i class="fa fa-ellipsis-v" /></a>
- <span class="o_right"><field name="is_favorite" widget="boolean_favorite" nolabel="1" /></span>
- </div>
+ <a class="o_kanban_manage_toggle_button o_left" href="#" groups="project.group_project_manager"><i class="fa fa-ellipsis-v" /></a>
+ <span class="o_right"><field name="is_favorite" widget="boolean_favorite" nolabel="1" /></span>
</div>
<div class="o_project_kanban_boxes">