Tuesday, June 13, 2023
3 changes · master
Resolved issues and error corrections
This fixes several issues in how Odoo updates form values automatically when a user changes related fields. The changes improve consistency for linked records and user permission/group fields, reducing incorrect or missing values in forms.
Original PR description
This pull request collects a bunch of fixes to method `onchange2()` and fixes some features used by this method. While not all commits include specific test cases, all those fixes are covered by test cases on the upcoming new server-side form view using `onchange2()` instead of `onchange()` https://github.com/odoo/odoo/pull/124614.
This fixes a crash that could happen when mobile website visitors ended or left a live chat with a chatbot. The change helps keep the website experience stable and prevents disruption for customers using live chat on mobile devices.
Original PR description
Steps to reproduce: - Create a chatbot - Browse your website as a user in moble - Start a conversation with your chatbot - Go back to your website or close the window There was a crash because some code in chat window service makes sense only in `/web`. Task-3367338
Recruitment kanban stages that have been used by applicants can no longer be deleted from the board. This prevents access errors in the time-in-stage analysis report and guides users to fold the column instead.
Original PR description
In the recruitment app, if at any point an applicant went through a kanban stage, that kanban stage will be included in the 'time in stage analysis' report. If that stage is then deleted, it will result in an access error when trying to see the report. The solution would be to archive the column instead but this not possible at the moment due to a framework limitation. Instead the button is left there with a warning telling it's not possible to delete, but to fold instead. task 3358569