UI changes :
1. Change "Department" field from textbox to drop -down list of Option Values :
that should be reflected in Jobs tab in General screen and Create New/Edit Roles screen.
1. Create a new option group for department with option values
Add the above option values to department group in hrjob/xml/option_group_install.xml
We need to add the new option group during upgrade. The upgrade steps need to be independent of the installation steps e.g.
Copy the XML code for the new OptionGroups/OptionGroup/OptionValues/OptionValue into a new XML file, "xml/4402_departments.xml"
In CRM_HRJob_Upgrade, add a function "upgrade_4402" which calls $this->executeCustomDataFile('xml/4402_departments.xml');
Please change the "Department" field to a dropdown list, with the following initial values included: Finance, HR, IT, Fund Raising, Marketing