summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2015-12-02 10:47:15 +0100
committerNicolas Martinelli <nim@odoo.com>2015-12-02 13:40:17 +0100
commit26d3275b2d09d46ef55ca06de7df25acd2f41cef (patch)
tree32c3945abccb6b01c4020d3ba7906c5143c80285
parentf6713b420b5dab48c6937c0fdc78dcb44c4dedd0 (diff)
[FIX] crm: customer information visible
When an email is sent through the "Contact us" page, it triggers the creation of a lead or an opportunity depending on group_use_lead. The issue is that if group_use_lead is set to 0 ("Each mail sent to the alias creates a new opportunity"), the user will never see the customer information entered in the contact form such as the name. It was therefore decided to make this tab visible even if the leads are not used. opw-657154
-rw-r--r--addons/crm/crm_lead_view.xml2
-rw-r--r--addons/crm/i18n/crm.pot5
2 files changed, 6 insertions, 1 deletions
diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml
index 2dacfa3baa1..00e5b266fee 100644
--- a/addons/crm/crm_lead_view.xml
+++ b/addons/crm/crm_lead_view.xml
@@ -511,7 +511,7 @@
<page string="Internal Notes">
<field name="description"/>
</page>
- <page name="lead" string="Lead" groups="crm.group_use_lead">
+ <page name="lead" string="Contact Information">
<group>
<group>
<field name="partner_name"/>
diff --git a/addons/crm/i18n/crm.pot b/addons/crm/i18n/crm.pot
index 4274d38a934..fcb01b654ab 100644
--- a/addons/crm/i18n/crm.pot
+++ b/addons/crm/i18n/crm.pot
@@ -954,6 +954,11 @@ msgid "Consumers"
msgstr ""
#. module: crm
+#: model:ir.ui.view,arch_db:crm.crm_case_form_view_oppor
+msgid "Contact Information"
+msgstr ""
+
+#. module: crm
#: model:ir.model.fields,field_description:crm.field_crm_lead_contact_name
msgid "Contact Name"
msgstr ""