[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.
This commit is contained in:
Thibault Delavallée
2016-09-05 12:18:55 +02:00
parent 0194365e0c
commit e89fdf7788
@@ -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"/>