Thursday, May 16, 2024
11 changes · 17.0
New functionality added to Odoo
Odoo now supports Zimbabwe's new ZiG currency, which was introduced on April 9th to address the country's high inflation. The system maintains the previous ZWL currency record while adding the new ZiG currency, ensuring businesses can accurately process transactions in Zimbabwe with the updated currency.
Original PR description
Since 9th April, there is a new currency in Zimbabwe, ZiG, created to tackle high inflation. The commit Adds the new ZiG currency, keeping the old ZWL currency record. task-3899063 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#164137
Enhancements to existing features
The issue reporting templates on GitHub have been enhanced to provide a better user experience for reporting bugs and issues. This includes improved template structure and the addition of redirect links to help users navigate more efficiently when submitting issues to the Odoo project.
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
Code cleanup and technical improvements
This update moves the Document State component from the Mexico localization module to the core accounting module, making it available for use across other features. A placeholder component remains in the Mexico module to maintain compatibility with existing customizations. This improves code organization and reduces duplication across the system.
Original PR description
Moving the DocumentState component from l10n_mx_edi to account. As `l10n_mx_edi_document_state` is still referenced in various views and we cannot change them in stable, we keep an empty shell in l10n_mx_edi inheriting the new generic component in account. In master, we remove `l10n_mx_edi_document_state`. task-3141517,3595436 see https://github.com/odoo/odoo/pull/165549
Documentation and clarification updates
A contributor has signed the Odoo Contributor License Agreement (CLA), which is a legal requirement for all code contributions. This allows their contributions to be accepted and merged into the Odoo project. No functional changes to the product are included in this update.
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
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.
The document_state component has been moved from localization-specific modules to the core Account module. This change allows multiple localization modules (Colombia, Mexico, Romania, and others) to reuse the same component instead of maintaining duplicate code, improving consistency and reducing maintenance overhead.
Original PR description
This allows using the component from l10n_co_edi, l10n_mx_edi, l10n_ro_edi and other localizations. task-3141517,3595436 see https://github.com/odoo/enterprise/pull/62514