Daily updates from Odoo
Friday, June 30, 2023
1 change · master
Resolved issues and error corrections
Appointment confirmation emails now calculate the day using the appointment's timezone. This prevents customers in timezones such as Pacific/Auckland from receiving emails with the wrong date when booking around midnight.
Original PR description
Steps to reproduce: ------------------- - create an appointment with the Pacific/Auckland timezone (UTC +12:00); - with a public user, register for an appointment on the website before 12 AM. (We can see the email sent in the chatter) Issue: ------ The number of the day used in the template does not correspond to the timezone. Solution: --------- Use `mail_tz` to obtain the day according to the timezone. opw-3267279