Monday, April 29, 2024
1 change · master
Resolved issues and error corrections
Projects created from templates through service product sales now bring back archived tasks as active tasks, so teams see the full planned work after confirming a quotation. Manually duplicating an archived project also restores its tasks, while keeping task status where appropriate, reducing missed work in copied projects.
Original PR description
When a project template have some archived task and a (service) product template duplicate the project, the tasks are copied on quotation confirm but the archived one remain archived. To reproduce behavior: - Install `sale_project` - Create a billable project as template - Create steps and tasks (archive at least one task) - Create a service product with create project & task on order then select your project template - Create a quotation with the product freshly created and confirm it - Go tho the Project created for SO and see that the (archived) tasks are not unarchived. task-3525361 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr