Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 979
    • Issues 979
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • Core
  • Issues
  • #1726

Closed
Open
Opened Apr 22, 2020 by JoeMurray@JoeMurrayDeveloper

Allow financial types to not have Expense account defined

This is a proposal for discussion and refinement.

Overview

Simplify accounting configuration to remove requirement for, and default creation of, widely unused stuff. In particular, don't require Expenses account for every financial type, nor create relations to Expense and Premium accounts by default when creating a financial type.

Example use-case

  1. Click on Administer > CiviContribute > Financial Types.
  2. Click Add Financial Type.
  3. Enter Name and click Save.
  4. In Financial Accounts, there are Banking Fees and Premiums accounts, which is undesirable.
  5. Click Accounts on the new Financial Type row.
  6. Beside the 'Expense Account is', click Delete, then confirm by clicking Delete again.
  7. Click on Contributions > New Contribution.
  8. Select the Financial Type created above that does not have an Expense Account set up for it anymore, fill in Contributor and Total Amount, and click Save.
  9. Try to edit the contribution but not in a popup, for example, go to the contact's page, right click on the edit button for the contribution and Copy Link Address, then paste address into a new tab. You'll see "Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. One of parameters (value: ) is not of the type Integer". This is caused by missing Expense account, even though it is not needed.

Current behaviour

See above.

Proposed behaviour

On creation of Financial Type, no Expense or Premiums account relationship would be setup. On editing a contribution (with a line item) with a financial type without an Expense account relationship setup, no error would occur.

Comments

The expectation when this was implemented circa 2014 was that payment processors would all soon record banking fees. That hasn't been the case for a variety of reasons.

Edited Apr 23, 2020 by JoeMurray
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#1726