{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/28783","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/28783/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/28783/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/28783/events","html_url":"https://github.com/odoo/odoo/pull/28783","id":382139132,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxOTE0MjMw","number":28783,"title":"[MERGE][REF] survey: break survey composer inherit on mail composer","user":{"login":"tde-banana-odoo","id":7501424,"node_id":"MDQ6VXNlcjc1MDE0MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7501424?v=4","gravatar_id":"","url":"https://api.github.com/users/tde-banana-odoo","html_url":"https://github.com/tde-banana-odoo","followers_url":"https://api.github.com/users/tde-banana-odoo/followers","following_url":"https://api.github.com/users/tde-banana-odoo/following{/other_user}","gists_url":"https://api.github.com/users/tde-banana-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/tde-banana-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tde-banana-odoo/subscriptions","organizations_url":"https://api.github.com/users/tde-banana-odoo/orgs","repos_url":"https://api.github.com/users/tde-banana-odoo/repos","events_url":"https://api.github.com/users/tde-banana-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/tde-banana-odoo/received_events","type":"User","site_admin":false},"labels":[{"id":106173385,"node_id":"MDU6TGFiZWwxMDYxNzMzODU=","url":"https://api.github.com/repos/odoo/odoo/labels/RD","name":"RD","color":"5319e7","default":false},{"id":1044215768,"node_id":"MDU6TGFiZWwxMDQ0MjE1NzY4","url":"https://api.github.com/repos/odoo/odoo/labels/seen%20%F0%9F%99%82","name":"seen 🙂","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-19T10:04:15Z","updated_at":"2018-11-21T13:51:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/28783","html_url":"https://github.com/odoo/odoo/pull/28783","diff_url":"https://github.com/odoo/odoo/pull/28783.diff","patch_url":"https://github.com/odoo/odoo/pull/28783.patch"},"body":"Purpose of this merge is to clean survey composer model. It currently\r\ninherits from mail.compose.message which also inherits from mail.message.\r\nThat means a lot of fields and behavior coming from both models are present\r\non the survey composer. Most of them are not necessary as\r\n\r\n * send_mail method of mail composer is overriden and super is not called.\r\n   Nothing from the complex behavior of mail.compose.message is used;\r\n * templates are just basically supported in survey, notably mass mailing or\r\n   mass posting mode are not used;\r\n * methods from mail.message should not be available on survey composer;\r\n * most m2m fields coming from mail.message and composer have no use here;\r\n\r\nIn this merge we simply add the required fields and template behavior on\r\nthe survey composer and remove inheritance on mail.compose.message.\r\n\r\nIn this merge we also rename survey.mail.compose.message to survey.invite\r\nas it simplifies code and is easier to understand.\r\n\r\nThis commit is linked to task ID 1909804."},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/440668570","html_url":"https://github.com/odoo/odoo/pull/28783#issuecomment-440668570","issue_url":"https://api.github.com/repos/odoo/odoo/issues/28783","id":440668570,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDY2ODU3MA==","user":{"login":"mreficent","id":25005517,"node_id":"MDQ6VXNlcjI1MDA1NTE3","avatar_url":"https://avatars3.githubusercontent.com/u/25005517?v=4","gravatar_id":"","url":"https://api.github.com/users/mreficent","html_url":"https://github.com/mreficent","followers_url":"https://api.github.com/users/mreficent/followers","following_url":"https://api.github.com/users/mreficent/following{/other_user}","gists_url":"https://api.github.com/users/mreficent/gists{/gist_id}","starred_url":"https://api.github.com/users/mreficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreficent/subscriptions","organizations_url":"https://api.github.com/users/mreficent/orgs","repos_url":"https://api.github.com/users/mreficent/repos","events_url":"https://api.github.com/users/mreficent/events{/privacy}","received_events_url":"https://api.github.com/users/mreficent/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T13:51:21Z","updated_at":"2018-11-21T13:51:21Z","author_association":"CONTRIBUTOR","body":"@tde-banana-odoo you should put r+ again"}}
{"actor":{"display_login":"mreficent"}}