Daily updates from Odoo
Tuesday, June 23, 2026
4 changes · 17.0
Resolved issues and error corrections
This update corrects a technical issue in the Spanish VAT (l10n_es) module. It ensures that certain taxes are categorized correctly as 'Not Subjected' instead of 'Not Subjected by Location Rules,' aligning with existing tax configurations. This ensures accurate VAT reporting and compliance.
Original PR description
Both should be under the type "Not subjected" instead of "Not subjected by location rules", as we have the other taxes for that goal. @Tecnativa
This update fixes a visual issue where the flag image for Mauritania was incorrectly displayed in the Odoo system. The change ensures that users are presented with the accurate national flag, improving the overall user experience and data consistency. This is a minor update with no impact on functionality.
Original PR description
[task-6320443](https://www.odoo.com/odoo/project.task/6320443)
This update fixes an issue where short URLs generated in Email Marketing were incorrectly using a default website domain instead of the configured `web.base.url`. This change ensures that URLs generated for automated tasks like mass mailings consistently use the correct domain, regardless of the context. It resolves a discrepancy in URL generation that could lead to incorrect links being created.
Original PR description
The [`_compute_short_url_host`](https://github.com/odoo/odoo/blob/a81fa8699c89385d2cccb260ada07255c6ea1275/addons/website_links/models/link_tracker.py#L20-L24) override builds link.tracker short URLs…
The [`_compute_short_url_host`](https://github.com/odoo/odoo/blob/a81fa8699c89385d2cccb260ada07255c6ea1275/addons/website_links/models/link_tracker.py#L20-L24) override builds link.tracker short URLs from `website.get_current_website()` and the current company's website domain. It was introduced by https://github.com/odoo/odoo/commit/f13ecb15af7f0bdc67e37dfb41e8bac77f5a541a for a multi-company backend flow (users switching companies to post social marketing links), but it runs for every compute, including CRON contexts with no HTTP request such as the mass-mailing queue. Without a request, `get_current_website()` picks an arbitrary website (the first in the database) and `self.env.company` resolves to the user's main company, so the short URL uses that company's website domain instead of `web.base.url`. Fall back to `super()._compute_short_url_host()` (which uses `web.base.url`) when no website is resolvable from the request, session, or context. Backend flows with a real request still hit the company-aware branch. Steps to reproduce: 1. Install Email Marketing and Website. 2. Settings > Companies: create a second company B. Settings > Websites: ensure website A points to company A with domain A, and create website B for company B with domain B. 3. Settings > Technical > Parameters > System Parameters: set `web.base.url` to a third domain C, and add `web.base.url.freeze` = `True`. 4. On company A, Email Marketing: create a mailing with body `<a href="http://example.com">test</a>` and a recipient list, then click Send. 5. Settings > Technical > Automation > Scheduled Actions > "Mass Mailing: Process queue" > Run Manually. 6. Email Marketing > Configuration > Link Tracker: open the tracker generated for the mailing. => The Tracked URL uses domain A. => The Tracked URL uses domain C. Ticket [link](https://www.odoo.com/odoo/project.task/6038590) opw-6038590
Documentation and clarification updates
This update formally adds Djody Kort from Codeforward B.V. to Odoo's contributor list through a Corporate Legal Agreement (CLA). This ensures proper authorization for Codeforward to contribute to the project and precedes a planned bug fix. The CLA documentation has been updated to reflect this addition.
Original PR description
Adds me (Djody Kort) to the contributor list of the existing Codeforward B.V. Corporate CLA (`doc/cla/corporate/codeforward.md`). This precedes an upcoming `[FIX] service/server` bug-fix contribution. Codeforward's Corporate CLA v1.0 is already on file (signed by Sander Lienaerts), and I am authorized to contribute on Codeforward's behalf.