summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorRémy Voet <ryv@odoo.com>2019-09-25 13:08:56 +0000
committerThibault Delavallée <tde@odoo.com>2019-09-25 17:43:41 +0000
commit859428ef7fd52eddeb0ba668dce60dd70db8028e (patch)
tree9fd1a09c51175d24fceaa2fd9cf7b86636195de8 /addons
parent211dba4a83a12f2084083e4ef395c85fb6429d1e (diff)
[FIX] crm: correctly set phone / SMS widget on phone / mobile fields
SPECIFICATIONS In the crm lead form view : missing mobile widget in the form. Add it to be able to send sms from leads. Task ID 2075733
Diffstat (limited to 'addons')
-rw-r--r--addons/crm/views/crm_lead_views.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml
index c0e9111feb1..b54a551844b 100644
--- a/addons/crm/views/crm_lead_views.xml
+++ b/addons/crm/views/crm_lead_views.xml
@@ -206,7 +206,7 @@
<field name="email_cc" groups="base.group_no_one"/>
<field name="function"/>
<field name="phone" widget="phone" options="{'enable_sms': True}"/>
- <field name="mobile"/>
+ <field name="mobile" widget="phone" options="{'enable_sms': True}"/>
</group>
<group attrs="{'invisible': [('type', '=', 'lead')]}">
<field name="date_deadline"/>
@@ -278,7 +278,7 @@
<field name="title" placeholder="Title" domain="[]" options='{"no_open": True}'/>
</div>
<field name="function"/>
- <field name="mobile"/>
+ <field name="mobile" widget="phone" options="{'enable_sms': True}"/>
</group>
<group string="Marketing">
<field name="campaign_id" />