upgradeya / redmine-contracts-with-time-tracking-plugin

A Redmine plugin that allows you to manage contracts and associate time-entries with those contracts.
35 stars 22 forks source link

contracts plugin use with time_logger plugin #66

Open noobi97 opened 6 years ago

noobi97 commented 6 years ago

Hi!

I would like to use this cool plugin with time_logger. When i want add time entry with time_logger plugin i got 500 error, and this is in prodiction log:

"NoMethodError (undefined method is_fixed_price' for nil:NilClass): plugins/contracts/lib/contracts/patches/time_entry_patch.rb:29:intime_not_exceed_contract' app/controllers/issues_controller.rb:554:in block in save_issue_with_child_records' app/controllers/issues_controller.rb:546:insave_issue_with_child_records' app/controllers/issues_controller.rb:168:in update' lib/redmine/sudo_mode.rb:63:insudo_mode'"

What should i do? Thank, Norbert