Monday, February 24, 2025
2 changes · saas-17.4
Resolved issues and error corrections
This fix ensures employee work locations appear correctly in the calendar when viewing another employee, the current user, or everybody's calendar. It also prevents duplicate work location entries by checking existing locations even when the user's calendar filter is not selected.
Original PR description
- In calendar, when only one employee (different from the user) was selected as an attendeed in the calendar sidebar, the working location of this employee was not displayed. To work around this, switch to `multiCalendar` in that case. - When the current user was not selected as an attendee, it was possible to add a working location for the user on a day even if there was already an exisiting one. To avoid this, always fetch the user's working location to check if one already exists for a given day, but only display them if the user's filter is active. - Work locations were not displayed when "Everybody's calendar" was selected because the elements of `attendeeIds` had the wrong type. opw-4373391
Fixed a missing component in the Appointment app that caused an error banner to appear on websites when the app was installed. This improves the website experience, especially for trial users evaluating Odoo.
Original PR description
The appointment addon adds the `@mail/utils/common/format` module to the frontent assets. However, this module depends on another one: `@mail/utils/common/html`, which isn't there. As a consequence there's a red banner displayed in the bottom left corner, indicating that there's an odoo module issue, in all websites when the appointment addon is installed. This is causing a lot of trouble with free trials. This commit adds the missing dependency.