Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.4
-
Fix Version/s: 4.5
-
Component/s: CiviContribute
-
Labels:
Description
Although administrators can create their own contribution status option values (via System Settings > Dropdown Options), we should 'discourage' this by hiding the 'New Option' button when viewing this option group.
The reason for this is that custom contribution statuses require their own logic for the creation of appropriate accounting entries - so they should only be added via an extension that ALSO includes applicable code to handle the status transitions.
Added an is_locked property to civicrm_option_group and set it true for the following option groups:
contribution_status','activity_contacts','advanced_search_options','auto_renew_options','contact_autocomplete_options','batch_status','batch_type','batch_mode','contact_edit_options','contact_reference_options','contact_smart_group_display','contact_view_options','financial_item_status','mapping_type','pcp_status','user_dashboard_options','tag_used_for'