[FIX] new event form in week and day mode also.

bzr revid: vda@tinyerp.com-20110621082047-uztvmz07z43taaah
This commit is contained in:
Vaibhav (OpenERP)
2011-06-21 13:50:47 +05:30
parent 82136cabb7
commit b010f26561
@@ -84,6 +84,9 @@ openerp.base_calendar.CalendarView = openerp.base.Controller.extend({
scheduler.clearAll();
scheduler.config.api_date="%Y-%m-%d %H:%M:%S";
scheduler.config.details_on_dblclick=true;
scheduler.config.details_on_create = true;
if(this.fields[this.date_start]['type'] == 'time') {
scheduler.config.xml_date="%H:%M:%S";
} else {