[IMP] mail: define title for full composer

Before this commit title for full composer dialog window is "Odoo".
It increases probability of mistake for user because it doesn't clear
that user do: sending email or logging note.

After this commit title matches dialog purpose.

closes odoo/odoo#112111

X-original-commit: c29dc28534f03ccec2e390c44b16525ee45a6b3b
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Sergey Shebanin
2023-02-07 16:38:39 +01:00
committed by Sébastien Theys
parent 0d537e58a9
commit fadcc369ad
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -2311,6 +2311,7 @@ msgstr ""
#. odoo-javascript
#: code:addons/mail/static/src/js/activity.js:0
#: code:addons/mail/static/src/models/mail_template.js:0
#: code:addons/mail/static/src/models/composer_view.js:0
#: model:ir.actions.act_window,name:mail.action_email_compose_message_wizard
#: model_terms:ir.ui.view,arch_db:mail.email_compose_message_wizard_form
#, python-format
@@ -5318,6 +5319,7 @@ msgstr ""
#. module: mail
#. odoo-javascript
#: code:addons/mail/static/src/components/chatter/chatter.xml:0
#: code:addons/mail/static/src/models/composer_view.js:0
#, python-format
msgid "Log note"
msgstr ""
@@ -564,6 +564,7 @@ Model({
};
const action = {
name: this.composer.isLog ? this.env._t("Log note") : this.env._t("Compose Email"),
type: "ir.actions.act_window",
res_model: "mail.compose.message",
view_mode: "form",