to put the "Merge Duplicates" button on the list view of the custom module, I went into <sugarroot>/modules/custom_module/ and edited the vardefs.php file so that it had the line 'merge_duplicates'=>true at the beginning of the dictionary array:
PHP Code:
$dictionary['custom_module'] = array(
'table'=>'custom_module',
'audited'=>true,
'duplicate_merge'=>true,
'fields'=>array (...)
);
Then did a quick repair / rebuild from the admin page. And it worked.
I'll make it upgrade safe later, just needed to get the button on there for my client...
This is for 5.2h SugarCE on RHEL, Apache...
Bookmarks