Skip to content

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

The previous scheduling mode should not have an impact on the possibility to schedule a WP

Henriette Darge9bc72ec75056
diff --git a/frontend/src/app/shared/components/datepicker/datepicker.modal.ts b/frontend/src/app/shared/components/datepicker/datepicker.modal.ts
index bb08b7a6869..c96b16c6198 100644
--- a/frontend/src/app/shared/components/datepicker/datepicker.modal.ts
+++ b/frontend/src/app/shared/components/datepicker/datepicker.modal.ts
@@ -213,13 +213,9 @@ export class DatePickerModalComponent extends OpModalComponent implements AfterV
/**
* Returns whether the user can alter the dates of the work package.
- * The work package is always schedulable if the work package scheduled manually.
- * But it might also be altered in automatic scheduling mode if it does not have children and if there was
- * no switch from manual to automatic scheduling.
- * The later is necessary as we cannot correctly calculate the resulting dates in the frontend.
*/
get isSchedulable():boolean {
- return this.scheduleManually || (!this.datepickerService.isParent && !this.isSwitchedFromManualToAutomatic);
+ return this.scheduleManually || !this.datepickerService.isParent;
}
get isSavable():boolean {