[FIX] web_calendar: Do not display empty values in displayed text in calendar view cells

bzr revid: dle@openerp.com-20140214114258-0hcsfdwyl61gph0v
This commit is contained in:
Denis Ledoux 2014-02-14 12:42:58 +01:00
parent 19ba8c54c9
commit 115eb2027d
1 changed files with 1 additions and 0 deletions

View File

@ -340,6 +340,7 @@ instance.web_calendar.CalendarView = instance.web.View.extend({
return evt[fld][1];
return evt[fld];
});
res_text = _.filter(res_text, function(e){return !_.isEmpty(e);});
}
if (!date_stop && date_delay) {
date_stop = date_start.clone().addHours(date_delay);