Employees Module

Why cant the employee module be related to? I have figured out how to remove these restrictions by editing EmployeeStudioModule.php. I know this isn’t upgrade safe but that is not my concern right now. I would like to know if there is any particular reason for this arrangement.

If everyone in your organisation can access the SuiteCRM. You could relate to the users module instead. This would give you the advantage that it is upgrade safe.

An other way is to copy the ā€œmodules/Employees/EmployeesStudioModule.phpā€ to ā€œcustom/modules/Employees/EmployeesStudioModule.phpā€.

Then you can remove the ā€œunset($normalModules[translate(ā€˜LBL_RELATIONSHIPS’)]);ā€ line. Run quick repair and rebuild. This is the upgrade safe way to achieve this

I hope that helps.

1 Like