c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26741
[Bug 798723] Re: Calendar view supports only up to 10 categories!
** Patch added: "calendar_categories_fix.patch"
https://bugs.launchpad.net/bugs/798723/+attachment/2172829/+files/calendar_categories_fix.patch
--
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/798723
Title:
Calendar view supports only up to 10 categories!
Status in OpenERP Web Client:
New
Bug description:
Using version 6.0.1 of the web client (assuming its not been fixed in
6.0.2)
The calendar view supports only 10 'Categories' (i.e. up to 10
distinct values in the field specified by the color="xxx" attribute on
the calendar view)
The major problem with this is the calendar view then DOES NOT DISPLAY
any records that have a category value that is not one of the first 10
options.
I can't see any reason for the arbitrary limit, there are 32 different
colours defined for the calendar views, and there seems to be a
function which reallocates colours again if there are more than 32
options in the list.
The limit is set in addons/view_calendar/widgets/_base.py
("search_limit = 10")
Please see the attached patch which fixes the issue
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/798723/+subscriptions
References