Wednesday, June 26, 2024
2 changes · saas-17.2
Resolved issues and error corrections
Peruvian electronic invoices now show the configured QR code correctly when generated for printing or sending. This helps companies meet local invoice presentation requirements and avoids missing payment or validation information on customer documents.
Original PR description
**Steps to reproduce:** - Install Accounting and l10n_pe_edi - Switch to a Peruvian company (e.g. PE Company) - In Accounting settings, select "SUNAT" as Signature Provider and activate "QR Codes" option - Create an invoice for a Peruvian contact - Sent the invoice to Peru UBL 2.1 - Generate the invoice via "Send & Print" button **Issue:** The QR code doesn't appear on the invoice. **Cause:** There's a condition on the parent element of the QR element that checks if "spot" is defined. **Solution:** The display of the QR code should be independent of the "spot" variable. opw-3990721
This change fixes memory leaks that occurred while running JavaScript unit tests for the web module. It helps keep automated test runs more stable and efficient, reducing the risk of slowdowns or failures during development validation.
Original PR description
This PR clears a few retainers that would leak memory during the execution of JS unit tests. Backport of https://github.com/odoo/odoo/pull/170885 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr