Thursday, May 16, 2024
6 changes · 17.0
Resolved issues and error corrections
This update removes unnecessary supplier data from Peru's electronic delivery guide documents to comply with the latest government validation rules. The removed data was not required for the transport types Odoo supports, so eliminating it reduces file complexity and prevents potential validation errors.
Original PR description
The SellerSupplierParty data was initially included for transport reason '13', but recent validations show it is only necessary for transport reasons '02' and '07', which we do not support. Removed these fields to prevent data redundancy and potential errors. Before: - Included SellerSupplierParty data for transport reason '13'. After: - Removed SellerSupplierParty data from DespatchAdvice template. This change ensures compliance with the latest validation rules and reduces unnecessary XML data. Legal Reference:  https://cpe.sunat.gob.pe/sites/default/files/inline-files/ValidacionesGREv20221020_publicacion.xlsx Latam Task: https://latam-localizations.odoo.com/web#id=1203&menu_id=142&cids=1&action=188&model=project.task&view_type=form
A syntax error in the CRM team views configuration file has been corrected by removing an extra closing curly brace. This fix prevents potential errors when the CRM module loads and ensures the context field is properly formatted.
Original PR description
I found in the CRM view crm_team_views.xml on line 82 an extra closing curly brace in the value of the context. Each opening tag/brace must have only one closing tag/brace. In our case it was a curly brace which must be removed to avoid syntax errors. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The word "Cash" was not being translated in the Point of Sale Sales Details report, causing it to appear in English regardless of the user's language setting. This fix adds proper translation support so the payment method displays correctly in all supported languages.
Original PR description
Problem: The word "Cash" is not translated and appears in the sales details Steps to reproduce: - Install "Point of Sale" app - Open a POS session and make some sales WHITHOUT paying in Cash - Close the session and change the language - Go to "Reporting" > "Sales Details" and print the report - In the section "Payments" you should see a row with "Cash" payments Cause: The word is not added to the translations opw-3684937 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#164173
This fix corrects an issue where payment terms were incorrectly displayed on refunded invoices in the preview page. When an invoice is fully refunded and marked as "reversed," the due date should no longer appear in the preview, as it's no longer relevant. This ensures customers see accurate information when viewing refunded invoices.
Original PR description
Payment term on reversed invoices should not be displayed in the preview page. Steps: - Create and confirm an invoice - Open the preview - The invoice due date is displayed on the top left of the page just above the "Download" and "Print" buttons - Go back to the invoice and make a full refund - The payment state of the invoice is "reversed" - Go back to the invoice preview -> The invoice due date is still displayed, it should not be opw-3894596 Forward-Port-Of: odoo/odoo#164897
This update adds the url_unquote function to the system's URL handling utilities for version 17.0 and later. The function was not previously available in the compatibility layer, which could cause issues when the system needs to decode URL-encoded text. This fix ensures the function is properly available across all supported versions.
Original PR description
url_unquote was not used before 17.0 and not available in the noble monkeypatch, adding it for 17.0 -> master See https://runbot.odoo.com/runbot/build/62587153
A typo in the message template has been corrected where the messageSearch property was missing its proper reference. This fix ensures the Message component correctly recognizes and uses the messageSearch functionality, improving the reliability of message search features in the mail module.
Original PR description
This commit fixes a typo in message template. `messageSearch` is a prop of Message component.