Details
-
Type: Improvement
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.7.23
-
Fix Version/s: Unscheduled
-
Component/s: Accounting Integration
-
Labels:None
-
Versioning Impact:Minor (add functionality in backwards-compatible manner)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
-
Overview:Make financial_type table follow standard pattern re: name and label fields in order to allow i18n to work for financial types.
-
How it works currently:i18n doesn't translate financial type name
-
How it should work:i18n should translate human readable label of financial types.
-
Acceptance Criteria:i18n should translate human readable label of financial types.
Description
The Financial Type table has a name and description field, but doesn't implement the standard pattern of a label field. name should be for machine name, label for human name. Label is expected by i18n functionality.
This is a backwards compatible addition to the schema.
Add label field after name and before accounting_code on upgrade and in tarball. On upgrade,
Update civicrm_financial_type set label=name;