Daily updates from Odoo
Friday, February 25, 2022
2 changes · master
Enhancements to existing features
EasyPost shipments now use the product's country of origin for customs information when available, falling back to the warehouse country to avoid shipping failures. Users can also access commercial invoices and related EasyPost documents directly from delivery log notes, with safer handling if document downloads take too long.
Original PR description
Before this commit, the value for custom_infos->origin_country was given by the warehouse country, but it makes more sense to use a special field for it, as explained in this commit: odoo/odoo@7fc9234 To avoid sending blank fields - which would cause the shipping to fail - if the country_of_origin field is not filled, the default behaviour is the same as before this commit: it then takes the warehouse country. Also, we can now retrieve the commercial invoice and any documents that would be sent by Easypost in the picking log notes:  task-2701428
Code cleanup and technical improvements
The enterprise codebase was adapted to a newer version of Odoo's front-end framework, improving how screens update when data changes. This mainly modernizes internal UI behavior across apps such as Documents Spreadsheet, Barcode, Timesheets, Dashboard, and Studio, helping keep the platform aligned with the main Odoo upgrade.
Original PR description
This PR updates the enterprise codebase to the update of owl done in https://github.com/odoo/odoo/pull/84314 Co-authored-by: Géry Debongnie [ged@odoo.com](mailto:ged@odoo.com)