Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14361 Cannot Change Contribution from Custom Status to Any Other Status
  3. CRM-14445

Prevent administrators from manually creating custom contribution status options and adding to other option groups which are used programatically

    Details

      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'

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: