Skip to content
Snippets Groups Projects
Commit fcab3f26 authored by Satish's avatar Satish
Browse files

After editing the details are not showing for added fields in workflow.

parent b26689f0
Branches
Tags
No related merge requests found
......@@ -51,12 +51,15 @@ if(defined('VTIGER_UPGRADE')) {
}
}
$result = $db->pquery('SELECT templateid FROM vtiger_emailtemplates ORDER BY templateid DESC LIMIT 1', array());
$db->pquery('UPDATE vtiger_emailtemplates_seq SET id=?', array($db->query_result($result, 0, 'templateid')));
$db->pquery('UPDATE vtiger_def_org_share SET editstatus=? WHERE tabid=?', array(0, getTabid('Contacts')));
$db->pquery('UPDATE vtiger_field SET presence=0 WHERE columnname=? AND fieldname=?', array('emailoptout', 'emailoptout'));
$db->pquery('UPDATE vtiger_settings_field SET name=? WHERE name=?', array('Configuration Editor', 'LBL_CONFIG_EDITOR'));
$db->pquery('UPDATE vtiger_links SET linktype=? WHERE linklabel=?', array('DETAILVIEW', 'LBL_SHOW_ACCOUNT_HIERARCHY'));
$db->pquery('UPDATE vtiger_field SET defaultvalue=? WHERE fieldname=?', array('1', 'discontinued'));
$db->pquery('UPDATE vtiger_field SET typeofdata=? WHERE fieldname IN (?, ?)', array('DT~O', 'createdtime', 'modifiedtime'));
$db->pquery('UPDATE vtiger_field SET defaultvalue=? WHERE fieldname=?', array('1', 'discontinued'));
$db->pquery('UPDATE vtiger_field SET defaultvalue=? WHERE fieldname=?', array('.', 'currency_decimal_separator'));
$db->pquery('UPDATE vtiger_field SET defaultvalue=? WHERE fieldname=?', array(',', 'currency_grouping_separator'));
......@@ -83,7 +86,7 @@ if(defined('VTIGER_UPGRADE')) {
}
$documentsModuleModel = Vtiger_Module_Model::getInstance('Documents');
$noteContentFieldModel = Vtiger_Field_Model::getInstance('notecontent', $userModuleModel);
$noteContentFieldModel = Vtiger_Field_Model::getInstance('notecontent', $documentsModuleModel);
if ($noteContentFieldModel) {
$noteContentFieldModel->set('masseditable', '0');
$noteContentFieldModel->save();
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment