Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. Help in customizing cost report

Help in customizing cost report

Added by Roberto Lo Giacco over 5 years ago

I'm trying to customize the cost report to be able grouping by a custom field (Supplier) on user entities.

I've been successful in having custom fields from users being listed among the group by options, but the report execution still displays none for each entry, which I believe is related to a missing join, but I'm not sure where should I put my hands. My best guess would be cost_query.rb but I thought it should have used the mixin to build the query....

Please also consider I'm totally new to both Ruby and Rails, meaning if you are willing to help, I need specific directions, not just hints.

I've attached the few files I've added/modified so far.

Obviously I'm willing to create a pull request of this feature if I get it to work....


Loading...