Skip to content

# NEW|New [Native mass actions for project tasks (close/progress/start date/deadline)]#35

Closed
mapiolca wants to merge 35 commits intopatch-10from
2026-03-25-add-mass-actions-for-external-module-tasks
Closed

# NEW|New [Native mass actions for project tasks (close/progress/start date/deadline)]#35
mapiolca wants to merge 35 commits intopatch-10from
2026-03-25-add-mass-actions-for-external-module-tasks

Conversation

@mapiolca
Copy link
Copy Markdown
Owner

This PR introduces native bulk actions for project tasks in Dolibarr, available from both task list entry points.

Implemented scope:

  • Added task mass actions:
    • close_selected_tasks
    • preupdate_selected_tasks_progress
    • preupdate_selected_tasks_start_date
    • preupdate_selected_tasks_deadline
  • Added permission-aware task filtering through Task::getAuthorizedTasksForMassAction(...) so only tasks visible/authorized for the current user are processed (including entity constraints).
  • Added pre-massaction modal rendering for progress/date updates with:
    • per-task inputs,
    • optional keep-duration checkbox for date actions,
    • global datetime apply helper (copy to all datetime rows),
    • dynamic modal sizing/capping behavior.
  • Added server-side execution flow for these mass actions (tasks list + project tasks page):
    • effective action resolution,
    • input validation,
    • transactional update (begin/commit/rollback),
    • user feedback messages (success/warning/error),
    • debug logging via dol_syslog.
  • Added en_US language keys required by the new mass-action labels/messages.

Notes:

  • This is a functional addition (not just UI), so actions are now usable directly in core project task workflows without relying on external module hooks.
  • The PR targets compatibility with existing project task pages and keeps permission checks enforced at execution time.

mapiolca and others added 30 commits February 19, 2026 07:04
…into 2026-03-25-add-mass-actions-for-external-module-tasks-zbxd5x
…external-module-tasks-zbxd5x

Add mass actions to bulk update/close project tasks (progress, start date, deadline)
@mapiolca mapiolca deleted the branch patch-10 March 25, 2026 22:05
@mapiolca mapiolca closed this Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants