Wednesday, October 2, 2024
2 changes · 17.0
Resolved issues and error corrections
A specialized product catalog view designed for field service management was incorrectly appearing when selecting products on sales orders in mobile view. This fix ensures the catalog view is only used in its intended location, preventing confusion and ensuring the correct product selection interface appears in sales orders.
Original PR description
For all 17.0 databases of a specific partner (strangely it couldn't be reproduced on runbot), the fsm catalog view was used to select product on sale order lines in mobile view. This commit ensures that this custom view will only be used for the specific action using it and won't appear in other places. opw-4196351
This fix resolves a problem where empty batch pickings could not be opened in the barcode application. The issue occurred because the system tried to load operation type information from cache but the backend didn't send the necessary data for empty batches. The fix ensures the operation type information is properly loaded in the frontend cache, allowing users to successfully open and work with empty batch pickings.
Original PR description
## Steps to reproduce: 1. Create a new batch picking (in the Inventory app) 2. Set an operation type and save 3. Open the batch picking in the barcode application ## Before this commit: Because the batch picking has an operation type, Odoo will try to load it from the cache, but since the batch picking is empty, the backend did not send any `stock.picking.type`. ## After this commit: Load the `stock.picking.type` in the frontend cache. opw-4175883 Forward-Port-Of: odoo/enterprise#70400