> > Al 10/06/13 11:19, En/na Cédric Krier ha escrit: > > On 10/06/13 11:16 +0200, Sergi Almacellas Abellana wrote: > >>> Al 09/06/13 01:25, En/na Cédric Krier ha escrit: > >>>>> On 08/06/13 23:01 +0200, Albert Cervera i Areny wrote: > >>>>>>>>> A Dissabte 08 Juny 2013 20:59:19, Cédric Krier va > >>>>>>>>> escriure: > >>>>>>>>>>>>> Hi, > >>>>>>>>>>>>> > >>>>>>>>>>>>> With the calendar view going to be included > >>>>>>>>>>>>> [1], I'm looking for places where we could > >>>>>>>>>>>>> use it. > >>>>>>>>>>>>> > >>>>>>>>>>>>> I already made a patch for production > >>>>>>>>>>>>> module [2] because I think it makes sense > >>>>>>>>>>>>> to plan the productions. > >>>>>>>>>>>>> > >>>>>>>>>>>>> Please tell me if you have any other > >>>>>>>>>>>>> applications? > >>>>>>>>> > >>>>>>>>> events in calendar module :) > >>>>> No calendar view is not a generic calendar.
I still think it would make sense to have events in a calendar view--it seems like the most obvious one ;-) > >>> > >>> I don't understand. If events have date_start and date_end why > >>> don't create a calendar view for it? > > Because they don't always have. > > dtstart is required[1] on the Event object, so it's allways defined? > > [1] > http://hg.tryton.org/modules/calendar/file/96d8ad41a859/calendar_.py#l408 > I am willing to be patient--not work on it right away but have a calendar view of events be in future plans. It can be more complicated than simple reminders because events can span over time (across weeks and months, etc) and they can be recurring. The dtstart might not mean the actual time an event starts--I think with recurring events it may be the initial recurrence sometimes, etc. so it may be the most complex case to deal with. I am not sure of all the possible complexities and how the database represents them so I cannot say for sure (I have only used events in the most simple case so far--meetings that span only hours within a single day--and it is enough for me right now how to deal with presenting the times to users in different time zones properly!). Saying that, even if it is more work than one would think it's not like proper calendaring including a calendar view of events has not been done before--so it should be something to consider on a "wish list" for the future to support such cases. Thanks Cédric Krier for the good work! Mark.
<<attachment: face-wink.png>>
