Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
vtiger
vtigercrm
Merge requests
!631
Fixes
#369
#492
Emails Related-list supported for Tickets and Potentials
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Fixes
#369
#492
Emails Related-list supported for Tickets and Potentials
uma.s/vtigercrm:Email_Related_list
into
master
Overview
0
Commits
3
Changes
Merged
Uma
requested to merge
uma.s/vtigercrm:Email_Related_list
into
master
5 years ago
Overview
0
Commits
3
Changes
0
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
4f7bc42c
3 commits,
5 years ago
+
11
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
modules/Migration/schema/720_to_721.php
+
11
−
0
View file @ 4f7bc42c
Edit in single-file editor
Open in Web IDE
Show full file
@@ -258,4 +258,14 @@ if (defined('VTIGER_UPGRADE')) {
$block = Vtiger_Block::getInstance('Recurring Invoice Information', $moduleInstance);
$block->addField($field);
//Adding related list between Emails and Potentials
$emailRelatedModules = array('Potentials', 'HelpDesk');
foreach ($emailRelatedModules as $key => $moduleName) {
$moduleModel = Vtiger_Module_Model::getInstance($moduleName);
if($moduleModel){
$moduleModel->setRelatedList(Vtiger_Module_Model::getInstance('Emails'), 'Emails', 'ADD', 'get_emails');
print("Email related list added to $moduleName");
}
}
}
\ No newline at end of file
Loading