Remove Relation between cases & accounts

Hello,

You should not remove the core relationship between Accounts and cases. Instead, you should hide it from the display.

  1. Hide subpanel of Cases under accounts
    Create a file at

custom/modules/Accounts/Ext/Layoutdefs/anyname.php

if(isset($layout_defs[‘Accounts’][‘subpanel_setup’][‘cases’])
unset($layout_defs[‘Accounts’][‘subpanel_setup’][‘cases’]);

Do quick repair & rebuild. It will hide the subpanel under the Accounts module.
2) Now remove the account field from the case creation view from the studio.
By default in SuiteCRM, you will have require field in Opportunities, Cases.
You can set not required Accounts field, Follow this thread: Make Accounts not a required entry in a new opportunity - #8 by 3boptic

Thanks & Regards,
Team Urdhva Tech

1 Like