Files
odoo_source/addons
Hubert Van de Walle (huvw) e7fd6bedf6 [FIX] calendar: duplicated emails when creating allday meeting
Steps to reproduce:

  - Switch to debug mode
  - Go to calendar
  - Create an allday event in the future named test
  - Add an attendee with an email address
  - Save
  - Go to Settings > Technical > Email > Emails

  Two emails have been sent:
  * Invitation to test
  * test: Date updated

Cause of the issue:

  The method `_inverse_dates` is called when creating an event,
  triggering a write on the start field.
  This then causes an update email to be sent

Solution:

  Add a context key and don't send the update email if it is present

opw-2841276

closes odoo/odoo#100925

X-original-commit: d1e55727d010de2cd05bd2871b60d0e95caaaebf
Signed-off-by: Arnaud Joset <arj@odoo.com>
Signed-off-by: Hubert Van De Walle <huvw@odoo.com>
2022-09-23 07:21:40 +02:00
..
2022-09-21 01:29:59 +02:00
2022-09-20 13:48:49 +02:00
2022-09-20 13:48:49 +02:00
2022-09-20 13:48:49 +02:00
2022-09-23 07:21:33 +02:00
2022-09-01 21:25:29 +02:00
2022-09-20 13:48:49 +02:00
2022-09-20 13:48:49 +02:00
2022-09-16 20:51:56 +02:00
2022-09-20 13:48:49 +02:00
2022-09-20 13:48:49 +02:00
2022-09-20 13:48:49 +02:00
…