[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
This commit is contained in:
Rémy Voet
2019-09-25 17:43:41 +00:00
committed by Thibault Delavallée
parent 211dba4a83
commit 859428ef7f
+2 -2
View File
@@ -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" />