Friday, April 28, 2023
2 changes
Resolved issues and error corrections
This update keeps the chat window manager attached to the main page body so messaging windows remain consistently available in the web client. It supports a more stable user experience when using Odoo's enterprise interface and related chat features.
Original PR description
Linked to https://github.com/odoo/odoo/pull/29617 Task-ID 1914207
The schedule shortcut now uses the record currently being viewed instead of carrying over a record reference from a previous screen. This prevents users from opening or acting on the wrong manufacturing planning schedule when navigating between related records.
Original PR description
Before this commit, the context added to the schedule stat button contained a reference to the active_id value. However, in this case, we actually want the current id of the record that we are looking at, not the id from a previous view. Note that as far as I can tell, almost every use of `active_id` in stat button is wrong. It just usually works because we don't have an active id set, and there is a fallback in the basicmodel to get the current record id instead. However, if a user would get to that form view by following some other relations and coming from another form view, then the active_id would not be correct.