Chirag Patel (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-575155-cpa into
lp:openobject-addons/6.0.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-575155-cpa/+merge/108311
Hello,
base_calendar passes wrong event in web.
Demo: Sales > Meetings > Meeting
1) In calender view day mode.
Observed: For each day after, there is an event appearing at the bottom.
Expected: In day mode should show particular day events.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-575155-cpa/+merge/108311
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-575155-cpa.
=== modified file 'base_calendar/base_calendar.py'
--- base_calendar/base_calendar.py 2012-02-02 13:03:27 +0000
+++ base_calendar/base_calendar.py 2012-06-01 10:38:20 +0000
@@ -1265,7 +1265,6 @@
until_date = base_until_date and datetime.strptime(base_until_date[:10]+ ' 23:59:59', "%Y-%m-%d %H:%M:%S") or False
event_date = datetime.strptime(data['date'], "%Y-%m-%d %H:%M:%S")
# 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
if not data['rrule']:
if start_date and (event_date < start_date):
continue
@@ -1317,6 +1316,7 @@
count += 1
if count >= limit: # do not generate more than 'limit' recurring events
break
+ ids = []
if result:
ids = list(set(result)-set(recur_dict))
if isinstance(select, (str, int, long)):
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp