Security Group subpanel doesn't exist for quotes, contrats, invoices, and events modules

Hello Everyone,

I am using suiteCRM 7.7.4 (Sugar Version 6.5.24) and I need to use Security group subpanel in quotes, contracts, invoices and events modules, but for some reasons I can’t find it ! I did some researches and I found that this subpanel doesn’t appear by default for custom modules… some developers recommand to do not use the studio to build this kind of relationship, because simply it will not work ! for paid version of sugarCRM they say that there was a tool called “hookup tool” that creates the relationship for you… but As I am using a free version I can’t use it !

Do you have any idea ?

Thank you very much !

I finaly find a solution :

Adding this few lines to “modules/AOS_Contracts/metadata/subpaneldefs.php” :

'securitygroups' => array(
        'top_buttons' => array(array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'SecurityGroups', 'mode' => 'MultiSelect'),),
        'order' => 900,
        'sort_by' => 'name',
        'sort_order' => 'asc',
        'module' => 'SecurityGroups',
        'refresh_page' => 1,
        'subpanel_name' => 'default',
        'get_subpanel_data' => 'SecurityGroups',
        'add_subpanel_data' => 'securitygroup_id',
        'title_key' => 'LBL_SECURITYGROUPS_SUBPANEL_TITLE',
    ),
  • QRR
  • Verifying permissions.