[FIX] hr_homeworking: don't show work location if not location set
In homeworking, we currently show the work location as false if a location is not set. This commit fixes this issue by checking if the location is set before rendering. task-3570053 Part-of: odoo/odoo#139736
This commit is contained in:
@@ -72,7 +72,9 @@ patch(AttendeeCalendarModel.prototype, {
|
||||
} else {
|
||||
previousDay = dayISO;
|
||||
}
|
||||
events[dayISO] = currentEvent;
|
||||
if (currentEvent.title) {
|
||||
events[dayISO] = currentEvent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user