Yes I did the quick repair. Not the first time, but now that you mentioned it I did it.
The same.
I attach here the popupdefs.php file.
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
global $mod_strings;
$popupMeta = array('moduleMain' => 'Opportunity',
'varName' => 'OPPORTUNITY',
'orderBy' => 'name',
‘create’ => array (
‘formBase’ => ‘OpportunityFormBase.php’,
‘formBaseClass’ => ‘OpportunityFormBase’,
‘getFormBodyParams’ =>
array (
0 => ‘’,
1 => ‘’,
2 => ‘OpportunitySave’,
),
‘createButton’ => ‘LBL_NEW_FORM_TITLE’,
),
'whereClauses' =>
array('name' => 'opportunities.name',
'account_name' => 'accounts.name'),
'searchInputs' =>
array('name', 'account_name'),
'listviewdefs' => array(
'NAME' => array(
'width' => '30',
'label' => 'LBL_LIST_OPPORTUNITY_NAME',
'link' => true,
'default' => true),
'ACCOUNT_NAME' => array(
'width' => '20',
'label' => 'LBL_LIST_ACCOUNT_NAME',
'id' => 'ACCOUNT_ID',
'module' => 'Accounts',
'default' => true,
'sortable'=> true,
'ACLTag' => 'ACCOUNT'),
'OPPORTUNITY_TYPE' => array(
'width' => '15',
'default' => true,
'label' => 'LBL_TYPE'),
'SALES_STAGE' => array(
'width' => '10',
'label' => 'LBL_LIST_SALES_STAGE',
'default' => true),
'ASSIGNED_USER_NAME' => array(
'width' => '5',
'label' => 'LBL_LIST_ASSIGNED_USER',
'default' => true),
),
'searchdefs' => array(
'name',
array('name' => 'account_name', 'displayParams' => array('hideButtons'=>'true', 'size'=>30, 'class'=>'sqsEnabled sqsNoAutofill')),
'opportunity_type',
'sales_stage',
array('name' => 'assigned_user_id', 'type' => 'enum', 'label' => 'LBL_ASSIGNED_TO', 'function' => array('name' => 'get_user_array', 'params' => array(false))),
)
);
``