c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06601
[Bug 568513] Re: Dates before 01/01/1900 crashes the GUI
** Changed in: openobject-client-web
Importance: Undecided => Wishlist
** Changed in: openobject-client-web
Status: New => Confirmed
** Changed in: openobject-client-web
Assignee: (unassigned) => OpenERP SA's Web Client R&D (openerp-dev-web)
--
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/568513
Title:
Dates before 01/01/1900 crashes the GUI
Status in OpenObject Web Client:
Confirmed
Bug description:
We are developping a cemetery management module in openERP.
We have dead people who were born before 1900.
We have found two problems in openerp-web:
1 - The date control calendar is restricted and cannot go below 01/01/1900
2 - There are validation errors raised from openerp/i18n/format.py when trying to save
Point 1, the javascript widget can be easily fixed in
openerp/static/calandar/calendar.js
=> find:
param_default("range",[1900,2999])
=> and replace with:
param_default("range",[1,2999])
Point 2, replace in
openerp/i18n/format.py
=> find the two occurances of:
return time.strftime(server_format, value)
=> and replace with:
return mx.DateTime.Date(value[0],value[1],value[2],value[3],value[4],value[5]).strftime(server_format)
Question: how should I process if I want this fix to be included in the trunk of openerp-web ?
What is the process ? Who is doing quality checking ?
Thanks for your support,
Tristan - Similys