Daily updates from Odoo
Thursday, June 20, 2024
4 changes · saas-17.2
Resolved issues and error corrections
Fixed an issue where optional products suggested during mobile self-order checkout appeared unavailable even when they should be orderable. This ensures restaurant customers can add related products from the mobile menu when product availability rules allow them.
Original PR description
To reproduce the bug follow the instructions: - Have pos and sales app installed - Go to pos app setting and enable is a Restorant setting - Back to the dashboard you should have a new shop called…
To reproduce the bug follow the instructions:
- Have pos and sales app installed
- Go to pos app setting and enable is a Restorant setting
- Back to the dashboard you should have a new shop called Restorant
- Go to the products from and create a product ('pencil' for instance), make it available in pos and in self-order and assign to it a category
- Add another product ('paper') with the same options in pos side and assign to it the same category, then add the first product ('pencil') to its optional product in sales section
- Back to pos dashboard open a sessing in Restorant shop then go back again to the dashboard
- Click on the tree dots on the top right of the Restorant shop block and click on the mobile view
- Create a new order adding 'paper' to the command then go to checkout
Now the optional product 'pencil' should be shown but it's unavailable.
A feature was added in Odoo 17.1 and newer for the availibility of the product on the point of sale app. It filter the product based on the availability hours of its categories. This brought changes to ProductCard component witch (you can check product_list_page) in pos_self_order modul for that. The thing is that these change wasn't made is pos_self_order_sale modul witch made the product always shown as unavailable.
### **opw-3977238**This update fixes a problem that could prevent the Odoo web client from reloading correctly in the iOS app. It improves reliability for users accessing Odoo on iPhones or iPads, reducing disruptions during mobile use.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Closing a live chat window while the chatbot is still processing no longer triggers an error. This makes the chat experience more reliable for users and avoids unnecessary system error reports.
Original PR description
When bot is processing steps and you close the `chatwindow` it throws error as the thread has been deleted so it won't be able to process next steps. This PR fixes the issue by adding necessary checks. Runbot Issue:-[64922](https://runbot.odoo.com/web/#id=64922&view_type=form&model=runbot.build.error&menu_id=405&cids=1) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue where creating a sales lead from website live chat could crash when the visitor was logged in as a portal user. This helps ensure live chat conversations can be converted into leads reliably, preventing missed follow-up opportunities.
Original PR description
opw-3858298