Daily updates from Odoo
Thursday, April 4, 2024
1 change · saas-17.1
Resolved issues and error corrections
This update fixes a warning message appearing when users share projects with tasks created using the 'blockby' feature. The issue stemmed from a technical error in how Odoo processed temporary project records, leading to incorrect data comparisons. This change ensures warnings are suppressed when sharing projects, improving user experience.
Original PR description
Steps: - Install project app. - Share a project which contains a task with blockby task. - Open that project in project sharing and keep login via admin. - Edit something in blockby page. Issue: - Warning displaying about other private project task blockby even though there are no task in blockby which from other project. Cause: - Computation on changing project task block by tree call compute of depend_on_count field but since record is just temparory save it get _origin instead of actual record and because of origin it fails to get actual id key data from dictonary. Fix: - Get id from origin if record is _origin record to properly get and set data. task-3764782