[FIX] field email_from in crm.lead form view should have a widget email
authorCecile Tonglet <cto@openerp.com>
Fri, 6 Dec 2013 10:20:51 +0000 (11:20 +0100)
committerCecile Tonglet <cto@openerp.com>
Fri, 6 Dec 2013 10:20:51 +0000 (11:20 +0100)
bzr revid: cto@openerp.com-20131206102051-cls1gh78ze2olst9

addons/crm/crm_lead_view.xml

index 642e9ef..7c087eb 100644 (file)
                                     on_change="onchange_partner_id(partner_id, email_from)"
                                     string="Customer"
                                     context="{'default_name': partner_name, 'default_email': email_from, 'default_phone': phone}"/>
-                                <field name="email_from" string="Email"/>
+                                <field name="email_from" string="Email" widget="email"/>
                                 <field name="phone"/>
                             </group>