-
- Downloads
[REF] mail: rename mail.notification table
RATIONALE A bit of history. Link between a message and its recipients has been added at first mail refactoring towards a Chatter / Discuss feature. It was done in v7 at d64f3c97 with the base addition of mail notification model (lots of commits follow that one but that's the first one about notification). Due to some people thinking that it was unnecessary to keep a model for notification it has been removed in v9 at 88b8cd05. Notification table was renamed from mail_notification to mail_message_res_partner_needaction_rel. It was proven to be a mistake even if those "some people" were warned and model made its way back to Odoo in v10 at 72dfcae2 . Table name mail_message _res_partner_needaction_rel was kept to ease migration and backward compatibility. It is now time to complete the circle and rename it to mail_notification. SPECIFICATIONS Rename ``mail_message_res_partner_needaction_rel`` to ``mail_notification`` . RIP JEM. Never forget. LINKS Task ID-2477444 Prepares Task ID-2377974 (trace management cleaning task) Prepares Task ID-2070632 (channel members main task) Prepares Task ID-2419762 (channel members followup task) COM PR odoo/odoo#67382 UPG PR odoo/upgrade#2245 Co-Authored-By:Rémy Voet <ryv@odoo.com> Co-Authored-By:
Thibault Delavallée <tde@odoo.com>
Showing
- addons/mail/models/mail_message.py 4 additions, 4 deletionsaddons/mail/models/mail_message.py
- addons/mail/models/mail_notification.py 2 additions, 2 deletionsaddons/mail/models/mail_notification.py
- addons/mail/models/mail_thread.py 2 additions, 2 deletionsaddons/mail/models/mail_thread.py
- addons/mail/models/res_partner.py 1 addition, 1 deletionaddons/mail/models/res_partner.py
- addons/mail/wizard/mail_resend_cancel.py 1 addition, 1 deletionaddons/mail/wizard/mail_resend_cancel.py
- addons/sms/models/mail_thread.py 1 addition, 1 deletionaddons/sms/models/mail_thread.py
- addons/sms/wizard/sms_cancel.py 1 addition, 1 deletionaddons/sms/wizard/sms_cancel.py
- addons/test_mail/tests/test_mail_mail.py 2 additions, 2 deletionsaddons/test_mail/tests/test_mail_mail.py
Loading
Please register or sign in to comment