Files
odoo_source/addons/snailmail/security/ir.model.access.csv
T
Pierre-Yves Dufays eca543ef40 [REM] mail, sms, snailmail: discard notifications without confirmation
Skip the confirmation step when wanting to get rid of a notification
for emails, sms or letters that were not sent.

Technical:
- All 3 wizards to confirm the discarding of the notification have been removed
(the ones for mail, sms and letter) have been removed
- The method to discard notification has been centralized in MailThread
(notify_cancel_by_type in addons/mail/models/mail_thread.py)
- This centralization has been done as well on the client code as the same
server code is called whether it is a mail, a sms or a letter
(in addons/mail/static/src/models/notification_group/notification_group.js)
- Existing front and back test have been adapted
- A test of notify_cancel_by_type for mail has been added
(addons/test_mail/tests/test_mail_management.py)
- add missing author_id in mail_notification demo data

Task-2752190

closes odoo/odoo#84452

Related: odoo/upgrade#3246
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-04-01 17:56:20 +02:00

580 B

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_snailmail_letter_usersnailmail.letter.usermodel_snailmail_letterbase.group_user1110
3access_snailmail_letter_systemsnailmail.letter.systemmodel_snailmail_letterbase.group_system1111
4access_snailmail_letter_format_erroraccess.snailmail.letter.format.errormodel_snailmail_letter_format_errorbase.group_user1110
5access_snailmail_letter_missing_required_fieldsaccess.snailmail.letter.missing.required.fieldsmodel_snailmail_letter_missing_required_fieldsbase.group_user1110