1 Commits
Author SHA1 Message Date
Ian de24389b43 [FIX] project: Tasks with dependencies retain state after being duplicated
Current Behavior:
Tasks with or without dependent tasks and a state not in closed states have their state changed to `01_in_progress` when duplicated.

previous PR that changed this logic: #139249

Purpose of this PR:
To retain the state of the original task when duplicated.

Steps to Reproduce in Runbot:
1) Enable Task Dependencies in Settings
2) Create a Project with Task A
3) Set state of Task A to 'Approved'
4) Duplicate Task A > Task A will now have a state of 'In Progress'

opw-3836251

closes odoo/odoo#162794

X-original-commit: a50d0317732232dad6c4b8b65c985643d0ff94b5
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
2024-04-22 17:04:38 +00:00