summaryrefslogtreecommitdiff
path: root/addons/project/project_view.xml
diff options
context:
space:
mode:
authorMansi Trivedi <mtr@odoo.com>2016-02-02 18:48:49 +0530
committerYannick Tivisse <yti@odoo.com>2016-03-03 15:21:24 +0100
commit79bc3f3836f730d2fb52acf02bb901c8fe88240e (patch)
treeda73a152fdf0dadf875c84a08bd288ea599355f2 /addons/project/project_view.xml
parente91a3346ef444b081117f0ce9cb4573ede9f8c38 (diff)
[IMP] project: Calendar view by month on project.task
Purpose: The field date_deadline is a date field (without hours:minutes:seconds) The customer is tempted to put the task deadline under hours, which is not feasible So in the calendar view for task, set the "month" view by default instead of the "week" view.
Diffstat (limited to 'addons/project/project_view.xml')
-rw-r--r--addons/project/project_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml
index 52b8e9f0680..9856ff657e3 100644
--- a/addons/project/project_view.xml
+++ b/addons/project/project_view.xml
@@ -399,7 +399,7 @@
<field name="model">project.task</field>
<field eval="2" name="priority"/>
<field name="arch" type="xml">
- <calendar color="user_id" date_start="date_deadline" string="Tasks">
+ <calendar color="user_id" date_start="date_deadline" string="Tasks" mode="month">
<field name="name"/>
<field name="project_id"/>
</calendar>