odoo/odoo#76718

Created by Discuss, Sébastien Theys (seb)
label
odoo-dev:saas-14.5-message-view-model-seb
head
77ece3ad23c2836e2740eabd123a97670ccce6eb
target
saas-14.5 (inactive)
merged
3 years ago by Discuss, Alexandre Kühn (aku)
forward-ports

[IMP] mail, *: clean up message component by introducing view model

* = hr, hr_holidays, sms, snailmail, website_livechat

Message model incorrectly contained data related to a specific component (only
one) even though there can be multiple message components per message model.

This cascaded to adapting related component/models to the same principle.