← Back to team overview

openerp-dev-web team mailing list archive

[Bug 568513] [NEW] Dates before 01/01/1900 crashes the GUI

 

You have been assigned a bug task for a public bug by DBR (OpenERP) (dbr-openerp):

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

** Affects: openobject-client-web
     Importance: Wishlist
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
         Status: Confirmed

-- 
Dates before 01/01/1900 crashes the GUI
https://bugs.launchpad.net/bugs/568513
You received this bug notification because you are a member of OpenERP SA's Web Client R&D, which is a bug assignee.