Daily updates from Odoo
Thursday, May 16, 2024
11 changes
5 changes
Resolved issues and error corrections
The Bank Reconciliation message link to the General Ledger now carries over the user's selected settings, such as the reporting date. This helps users compare balances using the intended context and avoids confusion from mismatched report views.
Original PR description
When clicking on the "General Ledger" part of the "The current balance in the General Ledger didn't match the balance of your last bank statement, leading to an unexplained difference of [...]" message in Bank Reconciliation, settings such as the date weren't properly transferred. task-3928454
The Request Signature action now appears only on records that support chatter-based tracking. This prevents users from seeing the option in unsuitable places where signature requests could not be properly followed up.
Original PR description
Before this commit: The action of "Request Signature" was shown in weird records accross Odoo. The idea was to allow adding it in records like tasks, documents, but it is being shown in records that do not have the chatter available to track the signature requests. This commit aims to fix the issue by adding a new condition for displaying that action, that is: check if `message_ids` is present on the view fields. since `message_ids` should be available only in chatter. Task: 3861299
This update fixes an internal Planning test setup so it no longer depends on optional demo data. It helps keep automated checks reliable across different database configurations without changing the user-facing Planning experience.
Original PR description
Before this commit, the #55625 altered the planning_tests_tours to change Aaron into Mitchell Admin for the resource assigned to the shift created inside that tour. The problem is `Mitchell Admin` is a demo data and so, the tour will create a new resource when we have no demo data inside our DB. If the changes made by this PR in that tour are reverted then another error is raised due to a timezone mismatch. This commit reverts the changes made by #55625 inside planning_tests_tours and change the timezone of `Aaron` resource created inside the python test.
The spreadsheet edition now uses the current search icon reference after an older find-and-replace icon name was removed. This prevents the global filters area from pointing to an outdated icon and helps keep the interface displaying correctly.
Original PR description
Since https://github.com/odoo/odoo/commit/554fe45c5f9c4103a126c080d030adce2e6dc871, FIND_AND_REPLACE does not exist anymore and has been replaced by SEARCH.
A planning test was updated to choose the intended button more reliably. This prevents test interference from the tour recorder and helps keep planning quality checks stable.
Original PR description
Before this commit, the selector for a button was not enough precise and with the tour recorder showing everywhere, the selector was selecting the recorder button instead of the right button. After this commit, the selector is more precise and should only select the right button. task-id: 3927002
6 changes
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.