diff options
| author | Arnaud Joset <arj@odoo.com> | 2020-06-04 10:56:34 +0000 |
|---|---|---|
| committer | Arnaud Joset <arj@odoo.com> | 2020-06-23 07:56:16 +0000 |
| commit | 6b95f0c144620bb0f043ad60bc7ab1c6283bf70e (patch) | |
| tree | d1aba4c670b86e74d30a2ba3209ab78f73538fcd /addons/web/static | |
| parent | b88c755b35b59d4565eafb8cd732db23b8dad047 (diff) | |
[IMP] project: improve calendar view
Before this commit, the calendar view showcases tasks by deadline. Because it is a simple date field, the day/week modes don't have much value and are even confusing to the users, who expect to be able to define timeframes.
In addition, the quickcreate doesn't allow to select a project. This is problematic because it leads to "ghost" tasks.
closes odoo/odoo#52478
Taskid: 2264594
Related: odoo/enterprise#10976
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/xml/web_calendar.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/web_calendar.xml b/addons/web/static/src/xml/web_calendar.xml index dbe7bb2834d..a5e2924ed92 100644 --- a/addons/web/static/src/xml/web_calendar.xml +++ b/addons/web/static/src/xml/web_calendar.xml @@ -91,8 +91,14 @@ <t t-name="CalendarView.buttons"> <div class="o_calendar_buttons"> - <t t-call="CalendarView.navigation_buttons" /> - <t t-call="CalendarView.scale_buttons" /> + <span class="o_calendar_navigation_buttons"> + <t t-call="CalendarView.navigation_buttons" /> + </span> + <t t-if="!scaleDrop"> + <span class="o_calendar_scale_buttons"> + <t t-call="CalendarView.scale_buttons" /> + </span> + </t> </div> </t> |
