credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #00480
[Bug 898668] [NEW] calendar views with more than about 150 entries don't display all entries
Public bug reported:
calendar views with realistic amounts of data in them seem to not work
correctly. The code below creates 100 meetings for several different
people (user IDs 43, 57 and 23, yours might be different). They don't
all display three entries on every day. Turning on and off people in the
filters causes other entries to come and go.
#!/usr/bin/env python
import xmlrpclib
import datetime
user = 'admin'
pwd = 'admin'
dbname = 'calendarfail'
sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/common')
uid = sock.login(dbname ,user ,pwd)
sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/object')
numdays=100
base = datetime.datetime.today()
datelist = [ base - datetime.timedelta(days=x) for x in range(0,numdays) ]
for u in [43,57,23]:
for d in datelist:
meeting_data = {'name':'test '+str(d.strftime("%Y-%m-%d %H:%M:%S")),
'date':str(d.strftime("%Y-%m-%d %H:%M:%S")),
'date_deadline':str(d.strftime("%Y-%m-%d %H:%M:%S")),
'user_id':57,
'description':"some text here!",
}
meeting_id = sock.execute(dbname, uid, pwd, 'crm.meeting', 'create', meeting_data)
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/898668
Title:
calendar views with more than about 150 entries don't display all
entries
Status in OpenERP Server:
New
Bug description:
calendar views with realistic amounts of data in them seem to not work
correctly. The code below creates 100 meetings for several different
people (user IDs 43, 57 and 23, yours might be different). They don't
all display three entries on every day. Turning on and off people in
the filters causes other entries to come and go.
#!/usr/bin/env python
import xmlrpclib
import datetime
user = 'admin'
pwd = 'admin'
dbname = 'calendarfail'
sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/common')
uid = sock.login(dbname ,user ,pwd)
sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/object')
numdays=100
base = datetime.datetime.today()
datelist = [ base - datetime.timedelta(days=x) for x in range(0,numdays) ]
for u in [43,57,23]:
for d in datelist:
meeting_data = {'name':'test '+str(d.strftime("%Y-%m-%d %H:%M:%S")),
'date':str(d.strftime("%Y-%m-%d %H:%M:%S")),
'date_deadline':str(d.strftime("%Y-%m-%d %H:%M:%S")),
'user_id':57,
'description':"some text here!",
}
meeting_id = sock.execute(dbname, uid, pwd, 'crm.meeting', 'create', meeting_data)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/898668/+subscriptions
Follow ups
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Amit Parik (OpenERP), 2011-12-27
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Jignesh Rathod(OpenERP), 2011-12-07
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Alan Bell, 2011-12-07
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Alan Bell, 2011-12-07
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Amit Parik (OpenERP), 2011-12-06
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Jignesh Rathod(OpenERP), 2011-12-06
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Jignesh Rathod(OpenERP), 2011-12-06
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Vaibhav (OpenERP), 2011-12-02
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Alan Bell, 2011-12-01
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Davide Corio - agilebg.com, 2011-12-01
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Davide Corio - agilebg.com, 2011-12-01
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Alan Bell, 2011-12-01
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Alan Bell, 2011-12-01
-
[Bug 898668] Re: calendar views with more than about 150 entries don't display all entries
From: Alan Bell, 2011-12-01
-
[Bug 898668] [NEW] calendar views with more than about 150 entries don't display all entries
From: Alan Bell, 2011-12-01
References