This question has been flagged

I'am install Odoo 8.

I want create and see task in Calendar View with time not only date. 


For example:

what do I have?

http://imgur.com/3t0WJjp

 

what do I want?

http://i.imgur.com/rpRnVVh.jpg


I can't change time in calendar view for tasks in project. Tasks use "all day" not time. 


I try change project_view.xml in addons. 

I change date_start=dedline 

<calendar color="user_id" date_start="date_start" date_stop="date_end" string="Tasks"> <field name="name"/> <field name="project_id"/> </calendar>




I use value from gant view(date_start and date_stop)

http://imgur.com/cLXo6XN


but it doesn't work. Please help. Thank you for you help.


Avatar
Discard
Best Answer

Hello,

I think in the task's calender the field date_deadline is used. and the type of this field is date. So you can change the type

of this field to datetime.

Hope this could help

Avatar
Discard
Best Answer

Qutechs, Ahmed M.Elmubarak's answer was relevant but on odoo11 we can not change the date of date_deadline from date to date / time. The system returns an error:

 × Odoo server error - Warning The properties of the database fields can not be modified in this way! Modify them via Python code, preferably via a custom module! 
Does anyone know a solution
Avatar
Discard
Best Answer

Hi , using V10 and V11 , the default behavior of the Project Task "Calendar View" is ALL DAY , so you have to make changes to the calendar view and it works for me and i have posted the How to in my Blog and you can take a look , thanks.

https://wp.me/p8iOGA-7FZ , How to  make Odoo Project Task to respond to time specific instead of All day?

Kalmen

Avatar
Discard
Author Best Answer

Yes you are right. so I change to "date_start" and add "date_end". I take this value from gant view. But doesn't work

Avatar
Discard