Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21808

Install custom group for Contribution or ContributioRecur subtypes based on XML file

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.29, 4.7.30
    • Fix Version/s: 5.4
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Overview

      It will be useful to create custom group by XML file also for subtypes of Contribution or ContributionRecur entities.

      Before

      It's not possible to properly install custom group for Contribution or ContributionRecur entity with particular subtype (financial type)

      After

       There is a possibility to create custom group for Contribution or ContributionRecur by *install.xml file or during upgrade step of extension by executeCustomDataFileByAbsPath(./my_contrib_custom.xml).

      Comment

      Add to CustomGroup XML element those options:

      <extends_entity_column_value_option_group>FinancialType</extends_entity_column_value_option_group>
      <extends_entity_column_value>Donation</extends_entity_column_value> 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              scardinius Scardinius
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: