Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • 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

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
Development
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Development
  5. Is it possible to extend existing tables by new fields?

Is it possible to extend existing tables by new fields?

Added by Markus Pitha about 10 years ago

Hello,
I have two questions which are probably the same topic.

In the latest stable version 4.2.5 there is under [myproject]->Work packages on the right side a setting where you can add columns. Due to any reason you can’t add ‘Spent time’. It looks like a bug to me since other columns can be added. Nevertheless, is it possible to programmatically extend the suggestions?

The same with ‘Time sheet’ menu entry. (All projects -> [myproject] -> Time sheet). Is it possible to extend the table on the bottom you can export by CSV with a ‘custom type’?

In my opinion there are two possibilites. Either to write a plugin or you just adapt the code and restart. But the latter one leads to the problem, that the next updates will overwrite the modifications. Maybe you can create a branch an merge the modifications into the latest version locally. Or are there any better approaches?


Replies (1)

RE: Is it possible to extend existing tables by new fields? - Added by Robin Wagner over 9 years ago

Hello Markus,

thanks for your post.
There is already a feature request to add “Spent time” as column to the work package list (#16044).
For information on how to submit code, please have a look at this code contribution information.

I’m afraid I’m not quite sure what you mean by ‘custom type’ in the time sheet / spent time table. Do you mean custom fields?

Best,
Robin

  • (1 - 1/1)
Loading...