diff options
| author | Vandan Shah <vas@odoo.com> | 2018-08-22 09:56:57 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-02-19 11:01:40 +0000 |
| commit | 7a80ebe35edba3d76ca7167a2ef13e26b1cac9d4 (patch) | |
| tree | 8959f479ddbc54e05110cfb7c9c8cc870ace2eaa /addons/note/views | |
| parent | d09ecc8b182f93a1fd6cd5a67b327a1ab3bc4f99 (diff) | |
[IMP] *: Add progress bar on kanban views based on activities
Purpose
=======
If the activities are available on a model (i.e. inherits mail.activity.mixin),
add a progress bar based on the activities if nothing is defined yet.
closes odoo/odoo#24777
Diffstat (limited to 'addons/note/views')
| -rw-r--r-- | addons/note/views/note_views.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/note/views/note_views.xml b/addons/note/views/note_views.xml index 25648b3f69f..73052c91208 100644 --- a/addons/note/views/note_views.xml +++ b/addons/note/views/note_views.xml @@ -89,6 +89,7 @@ <field name="message_partner_ids"/> <field name="activity_ids" /> <field name="activity_state" /> + <progressbar field="activity_state" colors='{"planned": "success", "today": "warning", "overdue": "danger"}'/> <templates> <t t-name="kanban-box"> |
