Daily updates from Odoo
Wednesday, June 24, 2026
1 change · saas-17.1
Resolved issues and error corrections
This update resolves an issue where users could create private tasks without selecting a project, leading to errors. The change enforces the requirement of a project ID during task creation, ensuring tasks are properly associated and preventing errors. This improves data integrity and user experience.
Original PR description
Steps to reproduce: --------------------------------------- 1. Install the Timesheets. 2. Click on "Start" button in header. 3. In the timer component make project field empty. 4. Then click on "New" button in the dialog for tasks that open from the task. 5. Make the project field empty, then save it. Issue: ----------------------------------------------- - If the project field is empty, it will try to create a private task and then it will show an error. Cause: ----------------------------------------------- - The project_id field is currently not required. This needs to be changed to prevent private tasks from being created. Fix: --------------------------------------------------------------- - After this commit we are passing the context "time_task_creation" if it is true it will make the project_id field required. task-3552597