From e89fdf77883266dc74519d7d342429fa9dfc3b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= <tde@openerp.com> Date: Mon, 5 Sep 2016 12:17:07 +0200 Subject: [PATCH] [IMP] project_issue: make visible choice of tasks and/or issues on project form view Indeed currently it is only visible in edit mode. However we noticed people did not trigger the edit mode to find fields they do not expect to find. Making them visible helps understanding projects can be used notably for tasks and issues. --- addons/project_issue/views/project_project_views.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/addons/project_issue/views/project_project_views.xml b/addons/project_issue/views/project_project_views.xml index 574dd7b6a41f..cd907e715d5b 100644 --- a/addons/project_issue/views/project_project_views.xml +++ b/addons/project_issue/views/project_project_views.xml @@ -32,7 +32,6 @@ </a> </a> </xpath> - <xpath expr="//div[contains(@class, 'o_kanban_manage_reports')]" position="inside"> <div> <a name="%(action_project_issue_report_filtered)d" type="action">Issues</a> @@ -47,9 +46,9 @@ <field name="model">project.project</field> <field name="inherit_id" ref="project.edit_project"/> <field name="arch" type="xml"> - <xpath expr='//div[@name="options_active"]' position="attributes"> - <attribute name="invisible">0</attribute> - </xpath> + <div name="options_active" position="attributes"> + <attribute name="class"></attribute> + </div> <xpath expr='//div[@name="options_active"]' position='inside'> <div> <field name="use_issues" class="oe_inline"/> -- GitLab