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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. How to delete a budget record

How to delete a budget record

Added by Godwin Luanglath about 6 years ago

is there any way we can manually delete the Budgets record from one of the project? after i created a budget record i am not able to click and view/delete it (probably because i made some changes/delete the users who's allocated to the labour part of the budget).

when looking at the production.log are shown below:

F, [2019-02-28T17:04:47.857754 #1378] FATAL -- :    
F, [2019-02-28T17:04:47.857896 #1378] FATAL -- : ActionView::Template::Error (undefined method `name' for nil:NilClass): 
F, [2019-02-28T17:04:47.858182 #1378] FATAL -- :     262:                 <% @cost_object.labor_budget_items.each do |labor_budget_item| %> 
   263:                 <tr> 
   264:                   <td class="hours"><%= labor_budget_item.hours %>h</td> 
   265:                   <td><%=h labor_budget_item.principal.name %></td> 
   266:                   <td class="comments"><%=h labor_budget_item.comments %></td> 
   267:                   <% if labor_budget_item.costs_visible_by?(User.current) %> 
   268:                     <td class="currency"> 
F, [2019-02-28T17:04:47.858236 #1378] FATAL -- :    
F, [2019-02-28T17:04:47.858288 #1378] FATAL -- : app/middleware/reset_current_user.rb:47:in `call'


Replies (1)

RE: How to delete a budget record - Added by Godwin Luanglath about 6 years ago

found the solution.

by accessing direct to the database and delete the record from these two tables

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