OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
remove redundant ignored_columns
Klaus Zanders096b5cbd06d7
diff --git a/modules/costs/app/models/cost_entry.rb b/modules/costs/app/models/cost_entry.rbindex 9e0ee110d65..fc5e8222f03 100644--- a/modules/costs/app/models/cost_entry.rb+++ b/modules/costs/app/models/cost_entry.rb@@ -31,8 +31,6 @@class CostEntry < ApplicationRecordALLOWED_ENTITY_TYPES = %w[WorkPackage].freeze- self.ignored_columns += [:work_package_id]-belongs_to :projectbelongs_to :entity, polymorphic: truebelongs_to :userdiff --git a/modules/costs/app/models/time_entry.rb b/modules/costs/app/models/time_entry.rbindex 17c9b443125..d4f5febc8ca 100644--- a/modules/costs/app/models/time_entry.rb+++ b/modules/costs/app/models/time_entry.rb@@ -31,8 +31,6 @@class TimeEntry < ApplicationRecordALLOWED_ENTITY_TYPES = %w[WorkPackage Meeting].freeze- self.ignored_columns += [:work_package_id]-# could have used polymorphic association# project association here allows easy loading of time entries at project level with one database tripbelongs_to :project