2014-04-29 09:06:05 |
Raymond Schmidt |
description |
Platform: Ubuntu
OpenERP Version: 7.0
Browser: Firefox
Produce Error as Following:
1. Modul hr_holidays is needed
2. Human Resources->Leave Requests
3. Drag the duration of your holiday in Calendar
4. A leave request form appears with wrong end date and wrong duration. Behind this window is an other on with the correct values.
5. If you click on close you see the second window with the correct values.
we found the with commenting out these lines:
web/addons/web_calendar/static/src/js/calendar.js:214
/*
scheduler.attachEvent('onEmptyClick', function(start_date, mouse_event) {
scheduler._loading = false; // Dirty workaround for a dhtmleditor bug I couln't track
if (!self.$el.find('.dhx_cal_editor').length) {
var end_date = new Date(start_date);
end_date.addHours(1);
scheduler.addEvent({
start_date: start_date,
end_date: end_date,
_force_slow_create: true,
});
}
});
*/
it works fine. We don`t know why this hack is need and a bit afraid of side effects coursed by commenting this out. Is this a known issue? In trunk everthing has changed. |
Platform: Windows, Ubuntu
OpenERP Version: 7.0
Browser: Chrome Version 34.0.1847.131, IE 11
Produce Error as Following:
1. Modul hr_holidays is needed
2. Human Resources->Leave Requests
3. Drag the duration of your holiday in Calendar
4. A leave request form appears with wrong end date and wrong duration. Behind this window is an other on with the correct values.
5. If you click on close you see the second window with the correct values.
we found the with commenting out these lines:
web/addons/web_calendar/static/src/js/calendar.js:214
/*
scheduler.attachEvent('onEmptyClick', function(start_date, mouse_event) {
scheduler._loading = false; // Dirty workaround for a dhtmleditor bug I couln't track
if (!self.$el.find('.dhx_cal_editor').length) {
var end_date = new Date(start_date);
end_date.addHours(1);
scheduler.addEvent({
start_date: start_date,
end_date: end_date,
_force_slow_create: true,
});
}
});
*/
it works fine. We don`t know why this hack is need and a bit afraid of side effects coursed by commenting this out. Is this a known issue? In trunk everthing has changed. |
|