** Patch removed: "base_calendar_6.0.patch"
   
https://bugs.launchpad.net/openobject-addons/+bug/803411/+attachment/2194008/+files/base_calendar_6.0.patch

** Patch added: "base_calendar.diff"
   
https://bugs.launchpad.net/openobject-addons/+bug/803411/+attachment/2194191/+files/base_calendar.diff

-- 
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/803411

Title:
  [base_calendar] It gets recurrent dates from event_date to until_date
  but it must get from start_date to until_date

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  Hi,

  I add date field to an object that inherit base.calendar in search view, for 
example crm.meeting, when I went to test it, I wrote in search widget "from 
2011-06-01 00:00:00 to 2011-06-08 23:59:59" it returned all recurrent events 
with date before of 2011-06-08 23:59:59 but start_date before of 2011-06-01 
00:00:00 it they started before this date.
  Investigating this behavior I saw in base_calendar.py  source in 
get_recurrent_ids() method that:

  # To check: If the start date is replace by event date .. the event date will 
be changed by that of calendar code
  start_date = event_date

  Then it always overwrite start_date value with event_date (initial date of 
event), I commented this lines and it works perfectly.
  Above the line is written "To check" please check your source and remove 
these messages in stable version...

  I attach the patch for clarify the place, but this line must be
  deleted.

  Regards.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/803411/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : c2c-oerpscenario@lists.launchpad.net
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to