diff options
| author | Xavier-Do <xdo@odoo.com> | 2019-04-12 11:43:39 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-05-29 13:34:32 +0000 |
| commit | 7a6269719fb8663dd62e6313a04a549283989541 (patch) | |
| tree | 9c439de35f4092918ba0cb655a3ddc69e2d13cbd /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | 6f43977a4e2837cc8a2b47f3cab086f334c20978 (diff) | |
[MOV] mail: move notification methods from mail.message / res.partner to mail.thread
Purpose of this commit is to move notification methods to mail.thread. Indeed
currently they are split among several models: thread, message, partner.
It makes code difficult to understand. Base record has to be propagated in
order to run methods on it. It is therefore simpler to make those methods
on mail.thread and correctly have model methods.
All notification methods are moved into a single section in the mail.thread
file. This implies some more code move inside mail.thread but allow to have
methods classified by their purpose.
Related to task 1943901
Linked to PR #32404
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
