diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-10-17 07:51:05 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-10-23 15:29:58 +0000 |
| commit | 7ec2e85734f67cde1062070c225805afe9502458 (patch) | |
| tree | 8f781a3b98cf819c85a917139b95dc2d046084fe /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | de0951eb9186a99284560a21700da987863ab4af (diff) | |
[REF] mail: remove dead code in composer and lint some code bits
Purpose of this commit is to remove code coming from old features,
implementations and that was not completely cleaned.
Including
* remove support of old "reply" composition mode which is simply a comment
with a parent message, and is deprecated;
* remove support of old "mail.compose.message.mode" context key that was
used in Odoo 6.1;
* remove support of message_id default value in context instead of
default_parent_id;
* remove old redirection of user / partner post. This code come from
old age when people were able to post on their "profile" by posting
on their user;
* remove unnecessary method for selection field;
* remove unused imports to clean a bit code;
We also make some optional parameters in rendering methods mandatory to
ease code understanding and future modifications.
Task ID 1853147
PR #39272
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
