diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2018-11-21 15:48:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-21 15:48:06 +0100 |
| commit | a8a7c248cda3dfccac2d61276bbdc6aa67b72bf2 (patch) | |
| tree | b353bac94746f3f39a69134aefd30c065f4f5dc0 /addons/web/static | |
| parent | 8d869b06e2bbeee6b9fb1dfe1c3d4d40d13156ee (diff) | |
| parent | cb59cb0436bf78fa643d7c6acc4ebaddc83bbb32 (diff) | |
[MERGE][REF] survey: break survey composer inherit on mail composer
Purpose of this merge 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 merge we simply add the required fields and template behavior on
the survey composer and remove inheritance on mail.compose.message.
In this merge we also rename survey.mail.compose.message to survey.invite
as it simplifies code and is easier to understand.
This commit is linked to task ID 1909804.
closes odoo/odoo#28783
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions
