Friday, December 17, 2021
5 changes · master
Enhancements to existing features
Activity-related tests in Mail and eLearning now use a shared mock server setup. This improves test reliability and maintainability without changing how users interact with the product.
The Survey app now opens the 'See Results' page in a separate browser tab instead of replacing the current page. This makes it easier for users to review results while keeping their original survey page available.
Original PR description
SPECIFICATION Before this commit, when clicking on the 'See Results' button the page was loaded on the previous one. After this commit, the page will open in a new tab. LINKS Task-2700305 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The website editor's snippet search field now uses clearer placeholder text so users better understand what they can search for. This helps reduce confusion when building pages and makes the editor easier to use.
Original PR description
Tests showed that users didn't understand the goal of the search bar above the snippets block under the tabs. This commit changes the placeholder of the search bar to better indicate its purpose. task-2607728 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
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.