diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2019-08-30 09:43:01 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2019-09-02 09:45:51 +0000 |
| commit | b8c7eddb3493e881a3e2c3d41bd0166ff93e4ef9 (patch) | |
| tree | 310daaf576882524072e1fab9383a44ea1b9935f /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 4181063031751d64983a40de2654f02a1216edb4 (diff) | |
[FIX] calendar: invitation for deleted event (recurring)
From calendar create a recursive event and add some guests. Delete one
event of the chain.
Invitations (Mail) will be created for the deleted event, and should not
be the case because the event has been deleted.
This happens because the recursive event is really just a record in the
database representing all the generated events. When the user want to
delete an event in the chain, a new event, copy of the "parent" event
has to be registered and subsequently disabled.
In the process of creating the event the mail is sent as
side effect. Note that the code to prevent this was partially there
because a context flag "dont_notify" is sent by the unlink in
Calendar.Meeting but was ignored from the mail subsystem.
opw-2039576
closes odoo/odoo#36270
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
