Monday, July 14, 2025
3 changes · saas-18.3
Enhancements to existing features
The ticket screen now shows the date as well as the time for takeaway orders scheduled on a future day, helping staff distinguish today’s orders from upcoming ones. It also improves the visibility of the selected current time slot in dark mode, reducing confusion during order handling.
Original PR description
Commit 1 - add date for future orders on ticket screen ----------------- ### Before this commit: - On the ticket screen, only the preset time (e.g., 12:00) was shown for all orders, including future ones. ### After this commit: - For future orders (e.g., Takeaway scheduled for tomorrow), the ticket screen now shows the date above the time. Commit 2 - visibility of time slot on ticket screen for takeaway ---------------------------------------- ### Before this commit: - If we made a Takeaway order and selected the current time as a slot, the time was not clearly visible in dark mode.  ### After this commit: - The current time slot is now clearly visible on the ticket screen, even in dark mode.  Task-4916474
The accounting search used by bank reconciliation has been optimized to avoid a slower company lookup. This can greatly reduce waiting time when loading possible journal items to reconcile, especially in very large databases.
Original PR description
This fix aims to avoid a subquery in the main query and instead use a
IN clause to improve search performance.
On a database with over 37 million journal items, before the fix, the
query to load the 40 potentials journal items to reconcile in the bank
reconciliation widget took around 50 seconds; after the fix, it take
only 3 seconds (with only 1 company to filter).
Subquery when 'child_of' is used:
```
...
AND (
"account_move_line"."company_id" IN (
SELECT
"res_company"."id"
FROM
"res_company"
WHERE
("res_company"."parent_path" LIKE '1/%')
)
)
```
Query after the fix:
```
...
AND ("account_move_line"."company_id" IN (1))
```
opw-4896863
Forward-Port-Of: odoo/odoo#218700
Forward-Port-Of: odoo/odoo#218034Manufacturing production schedules now refresh only the items currently visible on screen instead of recalculating hidden paginated items. This makes updates much faster in large planning setups, reducing one benchmarked action from 31.6 seconds to 3.5 seconds.
Original PR description
Description ----------- Only fetch forecasts for MPS schedules visible in the view rather than all impacted schedules. Schedules not visible due to pagination are skipped when reloading the MPS state. Benchmark --------- Adjusting a quantity for a product, which will impact around 1k+ other schedules (hierarchy is deep with boms), `get_production_schedule_view_state` takes: | Before | After | Speed-up | |--------|-------|----------| | 31.6s | 3.5s | 9x | Reference --------- opw-4778588 Forward-Port-Of: odoo/enterprise#87299