I have added this code in * āmodules/Leads/metadata/convertdefs.phpā
$viewdefs['orders']['ConvertLead'] = array(
'copyData' => true,
'required' => true,
'select' => "report_to_name",
'default_action' => 'create',
'templateMeta' => array(
'form'=>array(
'hidden'=>array(
'<input type="hidden" name="opportunity_id" value="{$smarty.request.opportunity_id}">',
'<input type="hidden" name="case_id" value="{$smarty.request.case_id}">',
'<input type="hidden" name="bug_id" value="{$smarty.request.bug_id}">',
'<input type="hidden" name="email_id" value="{$smarty.request.email_id}">',
'<input type="hidden" name="inbound_email_id" value="{$smarty.request.inbound_email_id}">'
)
),
'maxColumns' => '2',
'widths' => array(
array('label' => '10', 'field' => '30'),
array('label' => '10', 'field' => '30'),
),
),
'panels' =>array(
'LNK_NEW_CONTACT' => array(
array(
array(
'name' => 'first_name',
'customCode' => '{html_options name="Contactssalutation" options=$fields.salutation.options selected=$fields.salutation.value} <input name="Contactsfirst_name" size="25" maxlength="25" type="text" value="{$fields.first_name.value}">',
),
'title',
),
array(
'last_name',
'department',
),
array(
array('name' => 'primary_address_street', 'label' => 'LBL_PRIMARY_ADDRESS'),
'phone_work',
),
array(
array('name'=>'primary_address_city', 'label' => 'LBL_CITY'),
'phone_mobile',
),
array(
array('name'=>'primary_address_state', 'label' => 'LBL_STATE'),
'phone_other',
),
array(
array('name'=>'primary_address_postalcode', 'label' => 'LBL_POSTAL_CODE'),
'phone_fax',
),
array(
array('name'=>'primary_address_country', 'label' => 'LBL_COUNTRY'),
'lead_source',
),
array(
'email1',
),
array(
'description'
),
)
),
);