diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-10-25 15:13:06 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-11-21 13:27:52 +0000 |
| commit | ebbe0cac038a5fa394a7377a263bf32b4e5038e3 (patch) | |
| tree | f269745d4054e17deaa1042164b2f22d13a7e7c2 /addons/web/static/src | |
| parent | 8d869b06e2bbeee6b9fb1dfe1c3d4d40d13156ee (diff) | |
[REF] survey: break dependency from survey composer on mail composer
Purpose of this commit is to clean survey composer model. It currently
inherits from mail.compose.message which also inherits from mail.message.
That means a lot of fields and behavior coming from both models are present
on the survey composer. Most of them are not necessary as
* send_mail method of mail composer is overriden and super is not called.
Nothing from the complex behavior of mail.compose.message is used;
* templates are just basically supported in survey, notably mass mailing or
mass posting mode are not used;
* methods from mail.message should not be available on survey composer;
* most m2m fields coming from mail.message and composer have no use here;
In this commit we simply add the required fields and template behavior on
the survey composer and remove inheritance on mail.compose.message.
This commit is linked to task ID 1909804 and PR #28783.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
