OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/config/initializers/export_formats.rb

19 lines
707 B

OpenProject::Application.configure do |application|
application.config.to_prepare do
::Exports::Register.register do
list WorkPackage, WorkPackage::Exports::CSV
list WorkPackage, ::WorkPackage::PDFExport::WorkPackageListToPdf
single WorkPackage, ::WorkPackage::PDFExport::WorkPackageToPdf
formatter WorkPackage, WorkPackage::Exports::Formatters::Costs
formatter WorkPackage, WorkPackage::Exports::Formatters::EstimatedHours
formatter WorkPackage, Exports::Formatters::CustomField
list Project, Projects::Exports::CSV
formatter Project, Exports::Formatters::CustomField
formatter Project, Projects::Exports::Formatters::Status
end
end
end