Wednesday, March 19, 2025
8 changes · 17.0
Resolved issues and error corrections
Inventory administrators who do not use Point of Sale can now add or remove product variant attributes without being blocked by POS-related access errors. This keeps product maintenance aligned with inventory responsibilities while ensuring removed variants are no longer offered in POS combinations.
Original PR description
This PR addresses an access rights issue when an Inventory admin, specifically without POS access, tries to edit the variant attributes on a product template. In its current state, this user will witness an access error related to `pos.combo.line` records when they add or remove an attribute value. This PR fixes this by introducing `.sudo()` access when interacting with the `pos.combo.line` model during this process. opw-4553416
Fixes a problem where event filter categories with special characters in their names could cause an error on the mobile Events page. Users can now open these filters normally, improving reliability for website visitors and event managers.
Original PR description
Steps: - Open "Event Tags Categories" - Rename one with invalid character for HTML class/ID (like "/") - Open Website - Open Events Page - Switch to Mobile view - Open Filter - Open any category Actual result: - Traceback due to an invalid selector Expected result: - No traceback - Filter category is opened as expected opw-4126379 Caused by https://github.com/odoo/odoo/pull/145064 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents an error when an applicant opens the salary configurator in HR Contracts. It helps recruitment and HR teams continue compensation discussions without being blocked by a technical issue.
Original PR description
…onfigurator as an applicant 17.0 backport of https://github.com/odoo/odoo/pull/170484 opw-4631033 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Changing an invoice into a credit note now keeps the correct partner bank account instead of leaving it blank. This helps ensure payment and refund documents carry the expected banking details without manual correction.
Original PR description
The system automatically fill the Bank Account info on invoices, however this does not work as expected when the move type is changed after creation Steps to reproduce: - Create an invoice, set partner with bank account defined - Switch to credit note - Check 'Other info' tab Issue: Bank Partner will be left blank, but it should be the partner bank account opw-4640629
This fix updates an internal payment test so it no longer fails only because Community and Enterprise editions label payment status differently. It improves test reliability across Odoo editions without changing customer-facing payment behavior.
Original PR description
In Odoo CE, the invoice_payment_state is "paid". In Odoo Enterprise, the invoice_payment_state is "in_payment". This causes the test to fail in CE but pass in Enterprise, making the test unreliable when running in an environment without Enterprise. Current behavior before PR Running the test in Odoo CE only → Fails (expects "in_payment", but gets "paid"). Running the test in Odoo CE + Enterprise → Passes. Desired behavior after PR is merged The test should pass in both CE and Enterprise. The test will no longer check the exact value of invoice_payment_state, ensuring it remains valid across both versions. Steps to reproduce Run the test in an Odoo CE-only environment. Observe that it fails due to the unexpected invoice_payment_state value. Run the test in an environment with Enterprise, and see that it passes. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Payment links now show amounts rounded consistently, avoiding occasional extra decimal noise in the URL. This prevents confusing-looking payment links for customers and keeps displayed payment amounts clean.
Original PR description
Before this change, sometimes round(i, 2) != float_round(i, 2), which leads a bad float representation visible in the url. This happens on many such values like 6.14. opw-4601734 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes failing automated checks by replacing expired Spanish electronic invoicing demo certificates. It also updates the demo company's VAT details so Spanish tax reporting test submissions use valid business information.
Original PR description
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
WhatsApp message attachments are now copied from templates instead of reusing the original file. This prevents users from accidentally deleting a template attachment when they remove it from an individual message, keeping future template use reliable.
Original PR description
Problem: The WhatsApp template's attachment is set on the mail message of the related WhatsApp message. If the user deletes the mail message's attachment, the template's attachment also gets deleted. Solution: Instead of directly linking the template attachment, the attachment will be cloned with the appropriate `res_id` and `res_model` before sending. This ensures that the original template attachment remains intact even if the message attachment is removed. Task-4626855