← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 752349] Re: [6.0.2] Calendar & Gantt views do not show long-term events

 

Hi Devishree

I believe you have not understood the issue. Let me give you replication
instructions:

1. You need a calendar view that is defined with date_start and
date_stop parameter (NOT date_delay / duration).

I assume the standard OpenERP meetings module has this, but you should
check. I am using our custom junariCRM calendar.

2. In the Calendar view, create an event that starts on, for example
5th April 2011 at 1pm, and finishes on 6th April at 11am

3. In Week and Month view, you can see the event

4. If you switch to Day view, for the 5th or the 6th of April 2011, you
will not be able to see the event.

This is because of the reasons mentioned in the bug report.

Let me know if you need any further explaination

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/752349

Title:
  [6.0.2] Calendar & Gantt views do not show long-term events

Status in OpenERP Web Client:
  New

Bug description:
  The calendar & gantt views do not show events that span outside of the
  displayed date range.

  For example if an event starts before the calendar view's first day,
  but ends within the calendar view's date range, it should be shown,
  but it is not

  Also, if a calendar event starts before the calendar view's date range
  and ends after the calendar view's date range, it should be shown as
  spanning the entire calendar view, but it is not.

  This is a major problem for time management, as events / project tasks
  that should be shown are completely hidden!

  The issue is with the domain that is used to retrieve the calendar
  events, which is simply:

  event_date_start >= first_calendar_date
  and event_date_stop <= last_calendar_date

  This should actually be:

  (event_date_start >= first_calendar_date
    and event_date_start <=  last_calendar_date)
  or
  (event_date_stop >= first_calendar_date
    and event_date_stop <=  last_calendar_date)
  or
  (event_date_start < first_calendar_date
    and event_date_stop >  last_calendar_date)

  I'm going to have a crack at implementing this, but just in case
  someone else has already solved this problem can they please let me
  know!!



References