Daily updates from Odoo
Wednesday, August 16, 2023
5 changes · master
Resolved issues and error corrections
This fixes display issues in the appointment booking flow after an underlying template technology change. Users should see appointment slot pages render reliably instead of missing content or errors.
Original PR description
Following the removal of qweb in favor of owl at: odoo/odoo@6303a3eacdca012649a2ffda627b65c17a7217f1 There were a few issues with the templates: - 'JSON' is no longer in the rendering context of the templates - 'renderToElement' only returns the first 'root' element of the template, which is not suitable for some cases (replaced with 'renderToFragment') - correctly 'return' before trying to render a template that contains a foreach on an undefined variable (qweb did not mind, OWL is throwing an error) Task-3465533
Field Service product handling now uses the technician's preferred warehouse more reliably and confirms sales orders when products are added, so stock movements are created correctly. The update also fixes quantity, serial/lot tracking, messaging, and access-right issues, reducing errors during field service workflows.
Original PR description
This PR purpose is to address several Field Service Bugs among which: - correctly compute serial_missing - use user's default warehouse - prevent Error when setting product_uom_qty=qty_delivered (due to using stock.move.line in order to set default warehouse) - revert setting the assignee as SO sales rep - prevent unwanted message posts - handle preventing message post in right def - industry_fsm_stock: confirm so when adding products - add ensure_one on `fsm.stock.tracking` This PR also adds tests in order to ensure that the related bug fixes are tested. task-2714003
This update fixes an issue that could cause an error after signing a document when a related contact had been deleted. Users can now complete signing without the suggestion popup interrupting their workflow.
Original PR description
This commit's purpose is to complete its community part task-3251615
Knowledge article menus now show the creator and last editor names again. This restores helpful context that disappeared after a performance-related loading change.
Original PR description
When loading a many-to-one field that is invisible in the arch of the view, the system no longer fetches the display name of those records for performance reasons. It now only fetches the id of the record. In Knowledge, there is an issue induced by that change: The system no longer load (1) the name of the user who create the article and (2) the name of the last user who edit the article. As a result, those values are no longer display in the kebab menu of Knowledge. This PR will fix that issue by adding new field dependencies in the `TopBar` component. The system will now load the display name as it was the case before. task-3452142
The Manufacturing Planning Schedule now identifies the correct company when choosing a default warehouse. This prevents users from seeing errors caused by a missing warehouse and helps planning workflows open reliably.
Original PR description
In [this fix](https://github.com/odoo/enterprise/commit/ef9c696f825e763f450c7f02a239c79f50ead378#diff-774514eeaaf87c6b1c768b97ea72742739012968378e2b17874f2e37893abe5fR22), the company is not retreive properly, which returns an user error in the mps app because the warehouse is not set properly (as in the _default warehouse, the company is not correct => the warehouse is None).