Skip to content
Snippets Groups Projects
Commit ef45a5d6 authored by Greeshma's avatar Greeshma
Browse files

import duplicate handling supported for record id

parent 5aab1250
No related branches found
No related tags found
1 merge request!803Fixes #1483 #1484 field mapping supported for record id
......@@ -140,7 +140,7 @@ class Vtiger_ModuleMeta_Model extends Vtiger_Base_Model {
$moduleFields = $this->getAccessibleFields($moduleName);
$importableFields = array();
foreach($moduleFields as $fieldName => $fieldInstance) {
if(($this->isEditableField($fieldInstance))|| ($fieldInstance->getUIType() == 4) && ($fieldInstance->getTableName() != 'vtiger_crmentity' || $fieldInstance->getColumnName() != 'modifiedby')
if(($this->isEditableField($fieldInstance)) || ($fieldInstance->getUIType() == 4) && ($fieldInstance->getTableName() != 'vtiger_crmentity' || $fieldInstance->getColumnName() != 'modifiedby')
|| ($fieldInstance->getUIType() == '70' && $fieldName != 'modifiedtime')) {
$importableFields[$fieldName] = $fieldInstance;
}
......@@ -215,4 +215,4 @@ class Vtiger_ModuleMeta_Model extends Vtiger_Base_Model {
}
return $mandatoryFields;
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment