Created
April 22, 2015 19:40
-
-
Save dmulvi/fa3d02f55f544585593a to your computer and use it in GitHub Desktop.
Disable Duplicate Checking for a module in SugarCRM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* This will turn off duplicate checking for the module. | |
Put the file in this directory: | |
custom/Extension/modules/MODULE/Ext/Vardefs/ | |
and Quick Repair/Rebuild */ | |
$dictionary['MODULE']['duplicate_check']['FilterDuplicateCheck']['filter_template'] = array(); |
The main question would be version. This gist is pretty old so it may be that it's for version 6.5.x of sugar. I cannot say for sure though.
Did you try it? Although I did find this link which outlines the same approach and is for version 7.5.x http://www.urdhva-tech.com/blogs/disable-duplicate-check-on-fields-in-sugarcrm7.
OK, thank you for responding
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm still learning, so wondered if you'd kindly advise if the following alternative code does the same and which method is considered 'upgrade safe' please?
Example for Opportunities module:
Create \custom\Extension\modules\Opportunities\Ext\Vardefs\sugarfield_cancel_duplicate_check.php (The name of this file can be changed to else as you wish). And add the following code.
Do quick-repair & Rebuild