Tuesday, April 30, 2024
7 changes · 17.0
Enhancements to existing features
Website sitemaps, robots.txt references, and social sharing links now prefer the configured website domain instead of whichever address a visitor used. This reduces confusion for customers and search engines by consistently pointing to the canonical website address.
Original PR description
This commit is: 1. Forcing the website domain (if set) when generating the sitemap, instead of the root url. Otherwise, it was possible to generate the sitemap for a website with a non canonical URL.…
This commit is: 1. Forcing the website domain (if set) when generating the sitemap, instead of the root url. Otherwise, it was possible to generate the sitemap for a website with a non canonical URL. It's not the end of the world as those non canonical pages have a canonical meta tag anyway to correctly "explain" to the crawler where to go, but always using the correct domain is better. Note that this sitemap, once generated, is cached for 12 hours. 2. Adding link to the canonical sitemap on the robots.txt page if we are not on the canonical robots.txt. Note that this robots.txt was already forbidding all pages with `Disallow: /`. This is a good practice, see this google doc [1]: `The URL doesn't have to be on the same host as the robots.txt file.` 3. Using the website domain (if set) to generate the opengraph links. This one is probably just nitpicking and to prevent bad copy paste as it doesn't really change anything. Step to reproduce: - Install website - Set `http://localhost:8069/` as website domain - Go to `http://127.0.0.1:8069/sitemap.xml` (it's cached for 12 hours once you generated it by accessing it the first time) - Go to `http://localhost:8069/sitemap.xml`, it will be displaying pages with `127.0.0.1` URL instead of the canonical localhost. [1]: https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt?hl=en#sitemap task-3391021 opw-3366013 opw-2311003 opw-2358120 opw-3105191 opw-2949165 opw-3341083 opw-3103527 opw-3075342 opw-2962433 opw-2718606 opw-2674387 opw-2647926 opw-3163677 opw-3114853
This update adds automated testing for partner VAT information in the German DateV export report. By introducing this test, the team ensures that partner tax identification numbers are correctly exported in the DateV format, improving the reliability and accuracy of German tax reporting compliance.
Original PR description
Added a test for partners vat export in DateV report. task-3866785
Resolved issues and error corrections
This fix corrects an issue where employee names were appearing twice instead of showing the employee's avatar and name in the timesheet page when viewing shared projects on mobile. The problem was caused by a previous update that accidentally duplicated the employee field. Now the employee avatar displays correctly alongside their name.
Original PR description
Steps: - Install timesheet app. - Create a project and task in that project. - Add timesheet in that task. - Share that project. - Open that project in project sharing in mobile. - Open task form and go to timesheet page. Issue: - Employee field is displayin twice instead of displaying avatar and it's name. Cause: - PR-https://github.com/odoo/odoo/pull/95971 here it suposed to add employee avatar in portal but it added same employee that why employee name is showing twice in kanban. Fix: - Added kanban avatar instead of employee field twice to display employee avatar properly. task-3716784 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
This update removes warning messages that appear when Odoo starts by replacing outdated code instructions in the web interface templates. The change modernizes the underlying code without affecting how the web interface looks or functions for users.
Original PR description
**Description of the issue this PR addresses:** On start of Odoo, warnings are present in the console log. These warnings point to webclient_templates.xml using the deprecated directive `t-esc` and suggests replacing with `t-out` **Current behavior before PR:** Warnings are logged to console **Desired behavior after PR is merged:** No warnings logged to console --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves timing-related failures in the automated testing suite for the base automation module. The tests were running too quickly, causing steps to execute before previous actions completed. The fix adds proper wait conditions to ensure each test step completes before the next one begins, making the tests more reliable and stable.
Original PR description
fixes for following runbot errors: - 62449 - 62452
This update corrects a misspelling in the Spanish language translation for Latin America. The country name "República Doiminicana" has been fixed to the correct spelling "República Dominicana". This ensures customers see the accurate country name when using the system in Spanish.
Original PR description
Description of the issue/feature this PR addresses: This got error on wrong translate, customer can't find the correct name. Current behavior before PR: República Doiminicana Desired behavior after PR is merged: República Dominicana --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update temporarily suppresses warning messages that appear when using timezone functions in Python 3.12. While a more comprehensive solution is needed in the future to properly handle all timezone references throughout the codebase, this fix prevents unnecessary warnings from appearing to users now. The team plans to implement a complete solution in a future version.
Original PR description
This is a temporary fix to avoid warnings when using uctnow in python 3.12. A proper fix should be to localize all timezone using datetime.now(timezone.utc) instead of datetime.utcnow(). Unfortunately this is not as straightforward as it seems, since those naive timezones are localize in the code conditionally, but not always. It may take time and an in depth review to fix all occurrence. Not sure yet in witch version we should fix it properly. While in netsvc file, removes the encoding suppress warning Forward-Port-Of: odoo/odoo#163872 Forward-Port-Of: odoo/odoo#163794