summaryrefslogtreecommitdiff
path: root/addons/hr_timesheet
diff options
context:
space:
mode:
authorJérome Maes <jem@openerp.com>2017-01-18 15:00:32 +0100
committerThibault Delavallée <tde@odoo.com>2017-04-27 10:34:51 +0200
commitb6beff86b7e01cff1c63caea7a36bdfa67c50b7f (patch)
treed92f853f412cf65366830cb6accf26bd0c2141d2 /addons/hr_timesheet
parentaab2dc14313ea7e653cfcbef66dad55bd79ade83 (diff)
[IMP] project: remove doc count on project kanban view and optimize task count
This commit removes document count on project kanban view. Indeed it does not add much valuable information and bloats the kanban cards. In order to keep the kanban card order, it was required to adapt all inherited views. The order is 'task', 'issue', 'rating', 'timesheet' and 'forecast'. It also uses a read_group to better compute task count, by the way.
Diffstat (limited to 'addons/hr_timesheet')
-rw-r--r--addons/hr_timesheet/project_timesheet_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_timesheet/project_timesheet_view.xml b/addons/hr_timesheet/project_timesheet_view.xml
index b0f6c3ecdc0..b7f1b87bab4 100644
--- a/addons/hr_timesheet/project_timesheet_view.xml
+++ b/addons/hr_timesheet/project_timesheet_view.xml
@@ -153,7 +153,7 @@
<a name="%(act_hr_timesheet_line_by_project)d" type="action">Timesheets</a>
</div>
</xpath>
- <xpath expr="//div[contains(@class, 'o_project_kanban_box')]/div[last()]" position="before">
+ <xpath expr="//div[contains(@class, 'o_project_kanban_box')]/div[last()]" position="after">
<div attrs="{'invisible': [('allow_timesheets', '=', False)]}" class="o_project_kanban_box">
<a t-if="record.allow_timesheets.raw_value" name="%(act_hr_timesheet_line_by_project)d" type="action">
<span class="o_label">Timesheets</span>