summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2018-11-21 15:48:06 +0100
committerGitHub <noreply@github.com>2018-11-21 15:48:06 +0100
commita8a7c248cda3dfccac2d61276bbdc6aa67b72bf2 (patch)
treeb353bac94746f3f39a69134aefd30c065f4f5dc0 /addons/web/static/src/js/views/basic
parent8d869b06e2bbeee6b9fb1dfe1c3d4d40d13156ee (diff)
parentcb59cb0436bf78fa643d7c6acc4ebaddc83bbb32 (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/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions