Daily updates from Odoo
Wednesday, September 18, 2024
11 changes · master
Resolved issues and error corrections
Spreadsheet list side panels now wait for required list field information before rendering. This prevents missing or incomplete list details after updates, keeping spreadsheet views reliable for users.
Original PR description
This commit is the Enterprise counter-part of a community commit. Let me explain what's going on: Before the community commit, as soon as a list update was dispatched, it would trigger a new evaluation which would load the new (unloaded) datasource. The meta data (fields) being cached by the ServerData, fetching the fields was actually synchronous. Hence, at the next rendering, right after the command dispatch, the fields were already available. Now, with the community commit, there's a micro-tick delay before loading the new data source. The next rendering, being first in the event queue, renders the component before the cache was even queried. Task: 4134859
This fix improves how restaurant orders are synchronized with preparation displays by focusing on pending orders and processing them through a queue. It helps reduce missed or incorrectly synced orders and fixes related point-of-sale errors that could disrupt kitchen workflows.
Original PR description
*: pos_restaurant, pos_online_payment Before order synchronization was using table to know which orders needs to be synchronized. Now we only refer to pending orders, and we use a queue to synchronize them.
Manufacturing planning no longer blocks certain batch size settings during setup. If the batch size option is disabled or not set to a positive value, it is simply ignored when replenishment is run, reducing unnecessary configuration errors.
Original PR description
We do not impose restrictions on how batch_size is configured. It will simply be ignored if it's not enabled or is not something above zero.
The point of sale preparation display now loads the required sound resources for its notifications. This ensures staff can hear the expected alerts when orders or updates need attention.
Original PR description
In commit 45f568f8f8252913ed7cba00fe3da6f48edb7b26 we replaced the pos sound service with the mail sound service. In this commit we ensure that the correct assets are loaded in `pos_preparation_display`. The assets that handled the specific notifications used in pos were not loaded.
The EU OSS Reports module now avoids loading its test components during normal use. This prevents unnecessary internal test code from being imported in production, reducing the risk of avoidable startup or installation issues.
Original PR description
Test import was prevented by odoo/odoo#177671. Importing tests is only done when tests are enabled. This one was missed because it was merged concurrently.
The automated check for the account merge wizard has been moved into the Accountant app, where it can access the Chart of Accounts screen it needs. This helps ensure the test runs reliably and reduces false failures without changing day-to-day user behavior.
Original PR description
The tour needs access to the Chart of Accounts list view to function, which is available only in `accountant`, so we move it there from `account`. Community PR: https://github.com/odoo/odoo/pull/180614 runbot-98348
The Documents Kanban view has been corrected after a prior change caused visual layout issues. Users should now see better aligned footers, properly shortened text, correctly placed fields, and more consistent spacing when managing documents and accounting documents.
Original PR description
This commit fixes the broken Kanban view of documents, which occurred due to merging of this pr https://github.com/odoo/enterprise/pull/69250 . The following problems were addressed: - Misalignment of the footer - Text not being properly truncated - Incorrect positioning of a field using x-path - Inadequate padding Task-3992107
Orders marked as Food Ready in Atlas now update both their order status and payment status in the Point of Sale. This prevents delivery orders from appearing unpaid after they have progressed through the external food delivery workflow.
Original PR description
Steps: - Install pos_urban_piper - Open Point of Sale. - Configure Food Delivery Connector for one of pos. - Place a test order. - Mark order as Food Ready from Atlas. Issue: - Order status change to Food Ready but not got paid. Fix: - Order status and payment status both is updated.
Several app onboarding walkthroughs were not starting because they were missing from setup files or absent entirely. This fix restores those tours so users can receive the intended guided introduction when using affected apps.
Original PR description
Some of the onboarding tour was missing in the manifest and some were not existing. They have been added. TASK-ID: 4184140
A typo was corrected in the Loans screen. This improves clarity for users and helps keep the interface polished without changing any business process or functionality.
Financial reports now avoid showing the word “False” where an account code is unavailable for the active company. This keeps report labels clearer and more professional by showing only the account name in those cases.
Original PR description
Since sharing accounts between companies in https://github.com/odoo/odoo/pull/171079, an account's code may be False from the perspective of the active company. In that case, we want only the account name to appear in reports. A fix was already done for `account.display_name` in https://github.com/odoo/odoo/pull/177943. This commit does a similar fix for reports which use code + name rather than display_name. taskid: none