Wednesday, April 16, 2025
6 changes · 17.0
Resolved issues and error corrections
Users can now remove a selected partner from partner autocomplete fields and have that change properly recognized by the form. This ensures the save option appears and the cleared value can be saved, preventing confusing data-entry issues in contact-related forms.
Original PR description
In a form view with a many2one field using the res_partner_many2one widget (e.g. in the "Contacts" form view) where this field is set, remove the value. Before this commit, this didn't trigger a change in the model. As a matter of fact, the "save" button in the control panel (the small cloud) wasn't displayed. As a consequence, such a change couldn't be saved. This commit backports the fix made for version 18.0 for versions 17.0 and saas-17.4. The original fix is made in https://github.com/odoo/odoo/pull/203277. opw-4725006 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Completed activities that were kept for history are now cleaned up when their related record is deleted. This prevents leftover activity entries from pointing to records that no longer exist, keeping activity data consistent.
Event search results now use a standard arrow icon between date ranges instead of a special character that may not render correctly everywhere. This keeps event dates looking consistent for visitors across different browsers and devices.
Original PR description
Replace the non-standard '🠖' (->) character with an arrow icon in the `_search_render_results()` method for consistent and proper rendering across browsers and platforms.
E-Way Bill PDF printing now works even when a company has not uploaded a logo. This prevents a document generation failure and lets users continue producing required transport paperwork without extra configuration.
Original PR description
Printing the E-Way Bill failed if the company logo was not configured, as the QWeb template attempted to render an image using a non-existent logo. Steps to reproduce: - Remove the company logo from the company settings - Try to print an E-Way Bill for any invoice Expected: - The E-Way Bill should be printed successfully without a logo Actual: - PDF generation fails due to a template rendering error Now: - The template checks for the presence of a logo before rendering it, allowing the E-Way Bill to print even if the logo is not set. opw-4709233 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a display issue where headers in the view comparison screen used dark text on a dark background. The header text now appears in a light color, making comparisons easier to read and reducing user confusion.
Original PR description
Steps: - Compare 2 views Actual result: - Header text color is dark with dark background  Expected result: - Header text color is light with dark background 
Peruvian electronic invoices now preserve meaningful punctuation and special characters in the terms and conditions note when generating XML. This prevents invoice notes from being altered unnecessarily, helping businesses keep legally or commercially relevant wording intact while still excluding whitespace-only characters.
Original PR description
**Steps to reproduce:**
- Install Accounting and l10n_pe_edi
- Switch to a Peruvian company (e.g. PE Company)
- Configure Peruvian localization (https://www.odoo.com/documentation/17.0/applications/finance/fiscal_localizations/peru.html)
- Create an invoice:
* Customer: Comercial Constructora los Patitos S.A.
* Operation Type: [0101] Internal sale
* Invoice Lines:
- Product: [any with a UNSPSC Category]
- Taxes: 18%
- Terms and Conditions: [text containing special characters like '/' or '.']
- Confirm the invoice
- Process UBL 2.1
**Issue:**
In the XML, the content of <cbc:Note> has been stripped of all special characters like [/\!?+-=%.,;:()].
Only "whitespace" special characters should be excluded (i.e. '\n', '\u00A0',...).
opw-4659655