Tuesday, August 27, 2024
10 changes · 17.0
Resolved issues and error corrections
Installing the Spanish Point of Sale localization now checks whether the required sales journal already exists before creating it. This prevents setup failures for Spanish companies that already have a journal with the same code, making module installation smoother.
Original PR description
When the l10n_es_pos module is installed, the post_init_hook attempts to create an account journal for each Spanish company using a chart template. However, the method does not verify whether the journal already exists for the company, leading to potential duplication errors. Steps to Reproduce: - Create a journal for a Spanish company with the code 'SINV'. - Install the Point of Sale module and the l10n_es_pos module. - An error is raised because the journal 'SINV' already exists. Solution: This fix adds a check to ensure the journal does not already exist before attempting to create it. opw-4108466
This fix prevents project task searches from returning unintended results when the main search criteria is empty. Additional filters will no longer broaden results on their own, helping keep task-related views and selections accurate.
Original PR description
When `_search_on_comodel` is called with no `domain` and no `additional_domain`, it returns `False` (see added documentation for more explanation). However, when it is called with no `domain`, but an actual `additional_domain`, it returns something because both domains are merged before the `search`. Yet the `additional_domain` should filter the result even more, not expand it. Fix: First return `False` if there's no `filtered_domain`. Otherwise, and only then, merge both domains before the `search`. task-3251630 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The point of sale IoT device build now includes an extra dependency needed by some files to run correctly. This helps prevent setup or runtime failures in newly built device images.
Original PR description
Somes files need freezegun to run in master. We add this module in the new image 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
This fix prevents Odoo from changing empty template elements into a different format when template inheritance moves content around. It helps keep generated views consistent and avoids unnecessary differences or display issues after Studio-related template changes.
Original PR description
When calling apply_inheritance_specs and moving a node (before after or inside), we merge the text content of the adjacents nodes. If the parent and target node both have no text, we should not set the text to an empty string. When a node has no text, it is serialized as follows: `<node/>` But if it has an empty string, it has the following representation: `<node></node>` In the linked PR, we now apply the studio inheritance manually, and since we use the resulting tree directly instead of parsing the result, the `remove_blank_text` option of the parser has no effect. This causes existing tests to show some difference. opw-3819667
Reloading a sale order in the Point of Sale now keeps each POS order line connected to its original sale order line. This prevents missing references that could affect order tracking, reporting, or follow-up processing.
Original PR description
Before this commit, reloading a sale order imported into the POS would result in the loss of the link between the POS order line and the sale order line. opw-4120046 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The help text for quote attachments now clearly explains that documents added inside a quote also appear on the sale order PDF. This prevents customer confusion by matching the description to the actual behavior.
Original PR description
Changed the note on the attached_on field to properly note that the Inside quote option will include the document on the pdf of the quotation and sale order instead of just the quotation. Previously only said that it would be on the quote and caused confusion for customers when it would also show on the sale order. opw-4106894 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes an unnecessary error notification that was appearing when users clicked the "Pair" button to connect IoT devices. Previously, users would see a "No new IoT Box found" message even when the pairing process was working correctly. This fix improves the user experience by eliminating this confusing notification.
Original PR description
Once we clicked the "Pair" button, a notification showing "No new IoT Box found." was displayed. We want to avoid that.
This fix removes portal users from appearing in the assignee search dropdown when assigning tasks in the Project module. Portal users cannot be assigned to tasks, so filtering them out provides a cleaner and more accurate user experience when selecting task assignees.
Original PR description
This commit fixes the group_expand in porject_entreprise when searching for a assignees (thus on the res.users model). The problem was that the portal users were also displayed, which makes no sense as they cannot be assigned to tasks. taskid:3703637
This update fixes the formatting of debit/credit indicators in German tax reports exported to CSV format. The letters in column B of DateV exports are now properly displayed in uppercase, ensuring compliance with German accounting standards and improving compatibility with accounting software that processes these files.
Original PR description
The s/h in column B of the export of the csv for DateV should be in uppercase. task-4131986 Forward-Port-Of: odoo/enterprise#68844 Forward-Port-Of: odoo/enterprise#68795
This update fixes a technical issue in the room module where presence notifications were not being properly synchronized, causing test failures. The fix ensures that presence updates are only sent to users who need them, improving system reliability and test stability without affecting end-user functionality.
Original PR description
In the community counterpart of this PR, a debounce is added to the addition of bus channels in order to batch them as much as possible. The room module uses the `waitForSubscribe` bus helper but never awaits it which trigger errors in other tests. This PR fixes this issue. backport of https://github.com/odoo/enterprise/pull/68099 community: https://github.com/odoo/odoo/pull/176580