[FIX] crm: update the helper store

As the "Create" button is renamed to "New" so update it and remove "top left" in
helper to enhance clarity and avoid any confusion.

Task-3420529

closes odoo/odoo#130432

X-original-commit: 7a1bcb9c74eb48877731367b3da95c1eec7db19b
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
adsh-odoo
2023-08-02 06:18:53 +02:00
parent 44a9c61ea5
commit 40b17cee0f
3 changed files with 22 additions and 3 deletions
+19
View File
@@ -3713,6 +3713,11 @@ msgstr ""
msgid "Use the top left <i>Create</i> button, or send an email to"
msgstr ""
#. module: crm
#: model_terms:ir.ui.view,arch_db:crm.crm_action_helper
msgid "Use the <i>New</i> button, or send an email to"
msgstr ""
#. module: crm
#. odoo-python
#: code:addons/crm/models/crm_lead.py:0
@@ -3722,6 +3727,14 @@ msgid ""
" test the email gateway."
msgstr ""
#. module: crm
#. odoo-python
#: code:addons/crm/models/crm_lead.py:0
#, python-format
msgid ""
"Use the <i>New</i> button, or send an email to %s to test the email gateway."
msgstr ""
#. module: crm
#: model_terms:ir.ui.view,arch_db:crm.crm_action_helper
msgid ""
@@ -3729,6 +3742,12 @@ msgid ""
"email gateway."
msgstr ""
#. module: crm
#: model_terms:ir.ui.view,arch_db:crm.crm_action_helper
msgid ""
"Use the New button, or configure an email alias to test the email gateway."
msgstr ""
#. module: crm
#: model_terms:ir.actions.act_window,help:crm.crm_opportunity_report_action
msgid "Use this menu to have an overview of your Pipeline."
+1 -1
View File
@@ -1278,7 +1278,7 @@ class Lead(models.Model):
if alias_record and alias_record.alias_domain and alias_record.alias_name:
email = f'{alias_record.alias_name}@{alias_record.alias_domain}'
sub_title = Markup(_('Use the top left <i>Create</i> button, or send an email to %(email_link)s to test the email gateway.')) % {
sub_title = Markup(_('Use the <i>New</i> button, or send an email to %(email_link)s to test the email gateway.')) % {
'email_link': Markup("<b><a href='mailto:%s'>%s</a></b>") % (email, email),
}
return super().get_empty_list_help(
+2 -2
View File
@@ -4,13 +4,13 @@
<t t-if="team.alias_name and team.alias_domain">
<p class="o_view_nocontent_smiling_face">
Create an opportunity to start playing with your pipeline.
</p><p>Use the top left <i>Create</i> button, or send an email to
</p><p>Use the <i>New</i> button, or send an email to
<a t-attf-href="mailto:#{team.alias_id.display_name}"><t t-esc="team.alias_id.display_name"/></a>
to test the email gateway.</p>
</t>
<t t-else="">
<p class='o_view_nocontent_smiling_face'>Create an opportunity to start playing with your pipeline.</p>
<p>Use the top left Create button, or configure an email alias to test the email gateway.</p>
<p>Use the New button, or configure an email alias to test the email gateway.</p>
</t>
</template>
</odoo>