[#4184] Enable the contracts module for projects in the conversion.
This commit is contained in:
1 parent
d08d3ccc52
commit
f668d55552
2 files changed
+12
No files matched your search
@@ -97,6 +97,9 @@ module RedmineContracts
|
||||
end
|
||||
|
||||
contract.save!
|
||||
unless project.module_enabled?(:contracts)
|
||||
EnabledModule.create!(:project => project, :name => 'contracts')
|
||||
end
|
||||
contract
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user