Thursday, October 21, 2021
5 changes · master
Enhancements to existing features
HR menu labels were updated to consistently use “plan” instead of mixing “plan” and “planning.” This makes the employee plan options easier to understand and better aligned with related action titles.
Original PR description
To avoid mixing both plan and planning in hr plan options it was decided to reword menus to plan instead of planning. TaskId-2664863
Department forms now include an Employee button, making it easier for users to see related employees directly from the department record. This improves navigation for HR teams and reduces the need to search separately for staff by department.
Original PR description
Show an "Employee" stat button on the department form view. TaskID: 2672986 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
Odoo now uses the website domain saved in the database directly, because domain cleanup already happens before saving. This removes older internal cleanup logic and keeps website, forum, and profile links simpler without changing expected user behavior.
Original PR description
Before Odoo saas-14.4, one should call `_get_http_domain()` on website to get its domain. Indeed, that method was in charge of cleaning that domain, as it was done with commit [1]. Since Odoo saas-14.4, that cleaning is automatically performed on domain before saving it into database, thanks to commit [2]. Thus, we can now remove the `_get_http_domain()` and use directly the domain as it is considered clean. Note that migrated databases coming from version older than Odoo saas-14.4 could still have an incorrect domain (trailing slash, no scheme..). This will be handled during migration with [3]. [1]: https://github.com/odoo/odoo/commit/3ad775aab717b395a5d11527aeb3596af66afa99 [2]: https://github.com/odoo/odoo/commit/042c95b0219bb0aa13e73385e092fa76ff1a1b0a [3]: https://github.com/odoo/upgrade/pull/2951 task-2674684
Websites with a configured domain will now discourage search engines from indexing the same site when it is accessed through another domain, such as an Odoo-hosted address. This helps avoid duplicate search results and keeps traffic focused on the intended public domain.
Original PR description
**Description of the issue/feature this PR addresses:** Currently, search engines index a SAAS-hosted website twice (once for the actual domain, and once for the .odoo.com domain) which is something that should be preventable. **Desired behavior after PR is merged:** If a domain name is configured, and the website is accessed through a different domain than the configured one, the noindex tag appears and robots.txt forbids crawlers, preventing them from indexing it. This change should work retroactively, meaning that if adopted, domains which are not the main configured one will be unindexed from search engines as soon as they're crawled. task-2418904
Belgian payroll users can now generate a PDF summary of the DmfA declaration information that needs to be entered. This helps companies handle declarations manually when batch submission is too complex or requires technical expertise.