diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-12-10 13:05:58 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-12-10 13:05:58 +0100 |
| commit | 82a495eed52a9f42e5b88caa52c20a85f8d81ce3 (patch) | |
| tree | 6c5e8cc0247d5fe08d24e9abae38fe353fbebc56 /addons/project_issue/project_dashboard.xml | |
| parent | 0bc2ddae784bf80c4c809d8b7f6d642d576f92a1 (diff) | |
| parent | 4022493c0b85f966e499b6c03ac7cce5556f15e6 (diff) | |
[MERGE] forward port of branch saas-7 up to 4022493
Diffstat (limited to 'addons/project_issue/project_dashboard.xml')
| -rw-r--r-- | addons/project_issue/project_dashboard.xml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/addons/project_issue/project_dashboard.xml b/addons/project_issue/project_dashboard.xml index b49836219e9..381a6173026 100644 --- a/addons/project_issue/project_dashboard.xml +++ b/addons/project_issue/project_dashboard.xml @@ -7,12 +7,18 @@ <field name="use_tasks" position="after"> <field name="use_issues"/> <field name="issue_ids" invisible="1"/> + <field name="issue_needaction_count" invisible="1"/> </field> - <xpath expr="//div[contains(@class, 'o_project_kanban_boxes')]" position="inside"> - <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> + <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.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> </xpath> <xpath expr="//div[contains(@class, 'o_kanban_manage_reports')]" position="inside"> |
