diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-04-01 11:33:08 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-04-01 11:54:42 +0200 |
| commit | b3cfec189bf42abcb89b5c157c08f92ce45a3d01 (patch) | |
| tree | 44853d094c7afa0504fb03b8df8348cdcb387a3a /addons/project_issue/project_dashboard.xml | |
| parent | 2e0f55537fc7bc150b810fcaad585370ee1c5246 (diff) | |
[FIX] project_issue: link to issues
On the project dashboard, a user needs to click exactly on the number or
on the label in order to open the issue list. If the user clicks outside
the text (but still inside the box), the project is open instead.
The reason is because the link is specifically defined on the
number/label. The fix defines the link on the box itself.
Fixes #11396
opw-672380
Diffstat (limited to 'addons/project_issue/project_dashboard.xml')
| -rw-r--r-- | addons/project_issue/project_dashboard.xml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/addons/project_issue/project_dashboard.xml b/addons/project_issue/project_dashboard.xml index 381a6173026..b7197fa086d 100644 --- a/addons/project_issue/project_dashboard.xml +++ b/addons/project_issue/project_dashboard.xml @@ -10,15 +10,13 @@ <field name="issue_needaction_count" invisible="1"/> </field> <xpath expr="//div/a[contains(@class, 'o_project_kanban_box')]" position="after"> - <div t-if="record.use_issues.raw_value" class="o_project_kanban_box"> - <a name="%(act_project_project_2_project_issue_all)d" type="action"> - <span class="o_value"><t t-raw="record.issue_ids.raw_value.length"/></span> - <span class="o_label"><field name="label_issues"/></span> - </a> + <a t-if="record.use_issues.raw_value" class="o_project_kanban_box" name="%(act_project_project_2_project_issue_all)d" type="action"> + <span class="o_value"><t t-raw="record.issue_ids.raw_value.length"/></span> + <span class="o_label"><field name="label_issues"/></span> <a t-if="record.issue_needaction_count.raw_value" class="o_needaction" name="%(act_project_project_2_project_issue_all)d" type="action" context="{'search_default_message_needaction': 1}"> <t t-esc="record.issue_needaction_count.raw_value"/> </a> - </div> + </a> </xpath> <xpath expr="//div[contains(@class, 'o_kanban_manage_reports')]" position="inside"> @@ -29,4 +27,4 @@ </field> </record> -</odoo>
\ No newline at end of file +</odoo> |
