Daily updates from Odoo
Friday, December 17, 2021
2 changes · master
Enhancements to existing features
FedEx shipping declarations now use the product's country of origin for customs information instead of always using the warehouse country. If no product origin is provided, the system keeps the previous warehouse-country fallback to avoid shipment failures from blank customs fields.
Original PR description
Before this commit, the value for commodity_country_of_manufacture was given by the warehouse country, but it makes more sense to use a special field for it, as explained in this commit: https://github.com/odoo/odoo/commit/7fc9234316c3143cee62b56f7f64bc2bacaa81bf In this file, the `commodity_country_of_manufacture` was placed right after the `commodity_description` field, because it is the same order as the arguments in the `srm.commodities()` function. 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. task-2701428
The change updates internal testing for approval and VoIP activity features to use a mock server. This helps make automated checks more consistent and reduces the risk of future changes breaking these areas unnoticed.