Tuesday, June 17, 2025
3 changes · saas-18.3
Resolved issues and error corrections
This fix prevents an internal search function from crashing when it receives values in an unexpected format. It improves reliability for users by avoiding errors during record searches after a previous forward-port issue.
Original PR description
this the same fix but it was handled not correctly in the forward port of saas-18.3 refer to this [commit](https://github.com/odoo/odoo/pull/212975/commits/43747d23a3a6a75cc8a24aeda67780d20c39a3c6) build_error-110207
This change updates an automated workflow test so it waits until the Kanban view is fully ready before creating a new record. This prevents the test from opening the full form view by mistake and improves reliability of the validation process.
Original PR description
In the main flow tours, at some point we are on a `Kanban` view, and we want to create a new record. The tours expect to have a `QuickCreate` appears in the Kanban but instead the regular `Form` view…
In the main flow tours, at some point we are on a `Kanban` view, and we want to create a new record. The tours expect to have a `QuickCreate` appears in the Kanban but instead the regular `Form` view is shown.
This bug is due to the change made in the commit[1], has now we show the control panel as soon as possible, and in some condition the model in not ready yet, but the tour `click` on the `new` button and due to the changes made by the commit now we load the regular `Form` view.
To fixes this bug we modify the step in the tour by adding `.o_kanban_renderer` to the `.o_opportunity_kanban` trigger so we ensure that the model is ready due to the following code: `addons/web/static/src/views/kanban/kanban_controller.xml:84`
```xml
<t t-component="props.Renderer" t-if="model.isReady"
```
and so now the tour will click on the `new` button the following code will be true:
`addons/web/static/src/views/kanban/kanban_controller.js:413`
```javascript
if (this.canQuickCreate && onCreate === "quick_create") {
```
as the getter `canQuickCreate` will return `true` as the model `isReady` is true.
runbot-error-223065
[1]: https://github.com/odoo/odoo/commit/74ede9d6c6db583ecf54a1b04781e36aaf1c1a8d
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe Register Production quality check now immediately displays the generated lot or serial number after quick registration. This removes a confusing intermediate quantity display and makes it easier for manufacturing users to confirm the correct item was registered.
Original PR description
Before this commit: ------------------- In the QC (Quality Check) step "Register Production", the lot/serial name was not shown immediately after registration. Instead, the qty producing/demand ratio was displayed first, followed by the lot/serial name. Steps to reproduce: ------------------- 1. Create a MO for a lot/serial tracked product with a Register Production step(QC). 2. Go to the workorder and open the Register Production step. 3. Click the Quick Registration (+) button to generate a lot/serial. 4. The step first shows the qty producing/demand ratio, then the lot/serial name. In this commit: --------------- The step now directly shows the generated lot/serial name, as the registered quantity is already available in the workorder card header. task-4824899