Hello,
Just wanted to add if anyone had a problem like this with ârequiredâ field such account_name on importing to Opportunites, this was my solution to bypass it.
.
Go to, âŚ/suitecrm/custom/Extension/modules/Opportunities/Ext/Vardefs and create file with name âsugarfield_account_name.phpâ
Inside of the file paste the following code:
<?php
$dictionary['Opportunity']['fields']['account_name']['importable'] = true;
?>
Do Repair, Rebuild and you should be good to import without problem.
Changing account_name on ârequiredâ field = false in Config_Override.php did not work, it works only for edit and details mode.
If you modify code to disable required field like with the code below, it wouldnât make difference, account_name will still be required on import:
<?php
$dictionary['Opportunity']['fields']['account_name']['required'] = false;
?>
Hope this helps.