Saturday, March 21, 2026
1 change · saas-18.3
Resolved issues and error corrections
This update corrects a bug in the Sendcloud delivery service that was preventing accurate data retrieval. The original code incorrectly sliced a list, leading to an error when attempting to access the first element. The fix ensures the correct data is retrieved, improving the reliability of delivery tracking.
Original PR description
Slicing in Python returns a sub-list, even for a single element. Doing `res[:1]` does not return the first element so doing `.get` causes an error. This was not caught because the tests do not run in CI due to the tags on the class. Forward-Port-Of: odoo/enterprise#111254