Project

General

Profile

Defect #19606 » issue_tracker_estimated_time.diff

issue.rb patch - Stephane Evr, 2015-04-14 11:58

View differences:

app/models/issue.rb (working copy)
300 300
      end
301 301
      @custom_field_values = nil
302 302
      @workflow_rule_by_attribute = nil
303
	  if tracker.disabled_core_fields.include?("estimated_hours")
304
		self.estimated_hours = nil
305
	  end
303 306
    end
304 307
    association(:tracker).writer(tracker)
305 308
    self.status ||= default_status
(2-2/2)