Calculate %done based on estimated and logged time on Redmine 3.0.2

Added by Peter Drábik over 2 years ago

Hi,
I am upgraded redmine from 2.3.1 to 3.0.2 and I need help with this feature. I aplicated patch 0001-patch.diff from https://www.redmine.org/issues/13400 and patch does not work properly. When I created new issue, where I enter a parrent issue, redmine crashes.

The log includes the following error:

NameError (undefined local variable or method `update_done_ratio_from_issue_status' for #<Issue:0x007f6a2ca42408>):
app/models/issue.rb:165:in `create_or_update'
app/controllers/issues_controller.rb:470:in `block in save_issue_with_child_records'
app/controllers/issues_controller.rb:458:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:184:in `update'

I need your help with this.