diff options
| author | Jérome Maes <jem@openerp.com> | 2017-01-18 15:00:32 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-04-27 10:34:51 +0200 |
| commit | b6beff86b7e01cff1c63caea7a36bdfa67c50b7f (patch) | |
| tree | d92f853f412cf65366830cb6accf26bd0c2141d2 /addons/project/views/project_views.xml | |
| parent | aab2dc14313ea7e653cfcbef66dad55bd79ade83 (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/project/views/project_views.xml')
| -rw-r--r-- | addons/project/views/project_views.xml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index 8c7ee25578b..faff2856ec6 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -246,7 +246,6 @@ <field name="alias_id"/> <field name="alias_name"/> <field name="alias_domain"/> - <field name="doc_count"/> <field name="is_favorite"/> <templates> <t t-name="kanban-box"> @@ -291,12 +290,6 @@ <t t-esc="record.task_needaction_count.raw_value"/> </a> </div> - <div t-if="record.doc_count.raw_value" class="o_project_kanban_box"> - <a name="attachment_tree_view" type="object"> - <span class="o_value"><t t-esc="record.doc_count.value"/></span> - <span class="o_label">Documents</span> - </a> - </div> </div> </div> </t> |
