Friday, October 25, 2024
1 change · saas-17.4
Resolved issues and error corrections
The delivery form now avoids checking external shipping services just to decide whether certain buttons should be shown. This prevents slow or unavailable third-party services from blocking users opening delivery records and helps upgrades complete when internet access is unavailable.
Original PR description
Using a computed field that perform external API calls to decide about when to hide UI elements is problematic. If the external API is unreachable this will raise an exception each time users try to open the form view. If the API is slow this will also cause general slow downs for users. Finally during upgrades this causes unnecessary failures because the upgrade process is run without external internet access. This is partial revert of odoo/odoo@edf1a7d This issue blocks multiple upgrades to 17.4 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr