Thursday, January 9, 2025
4 changes · saas-18.1
Resolved issues and error corrections
POS hardware now uses a more reliable Wi-Fi reconnect process instead of a simple connection attempt. This helps known networks reconnect faster and restores the device access point when a password or connection problem would otherwise leave it unreachable.
Original PR description
Using `reconnect` will first try to re up the connection if the network is already known (much lighter) and ensure to restart access point if password is wrong.
This fixes cases where people copied on emails could be added as default recipients unexpectedly, reducing accidental extra notifications. It also improves how incoming project emails are read so names and email addresses are captured more accurately when creating contacts.
This change restores proper handling of server options that only apply to POSIX systems, preventing Odoo from failing to start on Windows due to missing configuration entries. It also keeps those unsupported options out of Windows command-line help, config files, and saved settings, reducing confusion for Windows deployments.
Original PR description
Start Odoo on Windows, KeyError config as no "workers" entry. A few options (workers, limit_memory, limit_time) are only meant for POSIX systems. In 18.0 and previous version, there was a mechanism to set those options None on othre system[^1]. This mechanism was wrongly removed during ConfigCleanup[^2]. This PR re-introduces it. [^1]: https://github.com/odoo/odoo/blob/0e5961b2e3861a73144c860038c3c32b87decfd4/odoo/tools/config.py#L512-L515 [^2]: https://github.com/odoo/odoo/pull/126099 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
This fix prevents Odoo Studio from showing an empty screen when users enter and leave Studio from certain views opened without a standard action identifier. When the original view cannot be restored, Studio now redirects users to the best available screen or the home menu, reducing disruption and confusion.
Original PR description
…to load Open a pivot view via an "anonymous" action, that is via a method of a model or something else. Open studio Close Studio Before this commit, we ended up with just an empty studio screen, obviously broken. This is the aftermath of odoo/enterprise@78599bd1b564fe0c64210ebcb90803b75f55755a where some use cases were left untreated. After this commit, use cases like this one fallback to either the closest action that has a chance to work -- this logic is driven by the action_service -- or to the home menu if really we did not guess hard enough.