Saturday, February 17, 2024
16 changes · 17.0
Resolved issues and error corrections
This update corrects improper description field overrides in the manufacturing workorder accounting module. The fix ensures that analytic line descriptions are properly configured, improving data consistency and preventing potential display issues in financial reports and time tracking records.
Original PR description
This commit removes wrong _description overrides on analytic line models. Closes odoo/enterprise#54492 Forward-Port-Of: odoo/enterprise#54492
This fix resolves a bug in the Field Service module where editing a product would incorrectly increase its quantity by 1. The issue occurred because clicking the edit button in the product dropdown menu triggered a global click event that updated the quantity. The fix now properly detects when a user clicks within the dropdown menu and prevents the unwanted quantity increase.
Original PR description
**Steps to reproduce:** 1- Install Field Service module 2- Create new task and click on products smart button 3- Hover over a product and click on the dropdown menu 4- Click on edit in the dropdown menu 5- Get back to the products page and check the quantity for the product you edited **Current behavior before PR:** When the user clicks on edit in the dropdown menu of any product the quantity gets increased by 1. This is happening because of the global click event so when the user clicks anywhere inside the kanban box the quantity gets updated. **Desired behavior after PR is merged:** This behavior has been adjusted by checking the target where the user click if it is inside the dropdown menu it will not update the product's quantity. opw-3689864 Forward-Port-Of: odoo/enterprise#55846 Forward-Port-Of: odoo/enterprise#54645
This fix resolves an issue where setting up the Estonia accounting localization package for a new company would fail with a validation error. The problem was caused by tax account names that were incorrectly labeled as "0%" instead of their actual tax percentages. By correcting these account names to reflect the true tax rates, users can now successfully install and activate the Estonia fiscal localization package without errors.
Original PR description
**Current behavior:** Creating a new company and trying to switch to the l10n_ee accounting localization package will result in a validation error, preventing the installation. **Expected behavior:**…
**Current behavior:** Creating a new company and trying to switch to the l10n_ee accounting localization package will result in a validation error, preventing the installation. **Expected behavior:** The package should be installed and automatically activated for the active company. **Steps to reproduce:** 0. Install the l10n_ee accounting module 1. Create a new company such that no fiscal localization package is active by default, then switch to this new company in the selection in the top right 2. In Accounting settings, select the Estonia fiscal localization package and save (this causes the exception) **Cause of the issue:** Certain tax accounts in the module do not have their names fully updated. They all were labeled as "0% ..." instead of their true percentages like all other tax accounts. **Fix:** Update the names of the offending tax accounts so that they are fully reflective of their true %. Associated with https://github.com/odoo/odoo/pull/151515 opw-3683538 Forward-Port-Of: odoo/enterprise#56496
A recent update incorrectly added a 'NURG' code to Swiss SEPA payment files when processing non-EUR currencies. This fix removes that code from Swiss payment files while keeping it for other SEPA formats. This ensures Swiss payment files comply with the correct format requirements.
Original PR description
https://github.com/odoo/enterprise/commit/9a0a3f96a9fc377b39db767155f57cd434908ce9 introduced the default 'NURG' SvcLvl value for all SEPA and ISO20022 files. However, this node should not be there for the Swiss version, and was incorrectly added in its files when generating payments in other currencies as EUR, since those were qualified as generic. A XOR on the condition solves the issue. OPW 3725981 3730908 Forward-Port-Of: odoo/enterprise#56754 Forward-Port-Of: odoo/enterprise#56704
The eBay location field in the Settings App was not being saved due to a missing configuration parameter. This fix adds the necessary configuration parameter to the system, allowing users to successfully save their eBay location settings. This ensures that eBay seller location information is properly stored and retained in the system.
Original PR description
Current behavior: The ebay location found in the Settings App is not being saved due to an empty config_parameter. Creating an config_parameter for this field will allow the field to be saved after being filled. opw-3722548 Forward-Port-Of: odoo/enterprise#56731
This fix resolves an issue where dependent benefits were not being properly disabled when their mandatory parent benefit was unselected. The problem occurred because the system was trying to disable the benefit before clearing its value, causing the disable action to be skipped. Now the benefit value is cleared first, then properly disabled, ensuring the user interface behaves as expected.
Original PR description
When we unselect the mandatory benefit, the dependent benefit should be unset and disabled. But before this commit this is not a case. The explanation of an issue: The issue only happens if dependent benefit has value different from 0, so the value should be unset first before disabling the dependent benefit. When the dependent benefit should be unset, it calls the asynchronous function, which prevents the lines that disable the dependent benefit to be reached. task-3749171 Forward-Port-Of: odoo/enterprise#56714
This fix corrects how shipments and receipts are categorized in intrastat reports. The system now properly ensures that inbound movements appear only in the Dispatch category and outbound movements appear only in the Arrival category, preventing misclassification of international trade data.
Original PR description
The aim of this commit is making sure that we only have inbound moves in `Dispatch` category and outbound moves in `Arrival` category. no task id Forward-Port-Of: odoo/enterprise#56841 Forward-Port-Of: odoo/enterprise#56747
This update resolves a technical issue in the intrastat accounting module where certain fields were incorrectly configured, causing problems with report functionality. The fix converts these fields to use a more appropriate configuration method, ensuring the intrastat reports work correctly and can be properly expanded when needed.
Original PR description
The aim of this commit was originally adding a test to verify that we could unfold the report. After some investigations, we discovered that we have several fields in `account_intrastat` that are using `one2many` fields in related fields (causing an issue in our test). Thus, this commit is changing related fields to computed one. We decided arbitrary that we'll take the first value of the `one2many` field for each computed ones. no task id Forward-Port-Of: odoo/enterprise#56699 Forward-Port-Of: odoo/enterprise#56525
A previous migration script for the account intrastat module was incorrectly removing views in stable versions and causing update errors. This fix removes the problematic script and relies on the system's built-in cleanup process instead, with a separate upgrade script handling edge cases where customizations may prevent automatic removal.
Original PR description
https://github.com/odoo/enterprise/pull/31893 wrongly removed views in stable versions. Problems: 1. The version on the folder is wrong: 16.0.1.1 will only be executed in 16.0 while the change has…
https://github.com/odoo/enterprise/pull/31893 wrongly removed views in stable versions. Problems: 1. The version on the folder is wrong: 16.0.1.1 will only be executed in 16.0 while the change has been done in all versions (the folder name should've been 1.1). 2. The script is using upgrade-util. This cause a traceback when trying to update the module. No local script in standard can ever assume that upgrade-util is available. There is no dependency between odoo and the utils for now, it might come at some point but we are far from here. 3. Removing views in stable is against stable policy. To fix this: 1. We remove the wrong script from odoo repository. The records *should* be deleted correctly by the ORM. It may fail if a customization is using the templates. 2. Add an upgrade script that will remove the views on major versions, in case the ORM failed to remove them by itself. opw-3741655 See https://github.com/odoo/upgrade/pull/5698 Forward-Port-Of: odoo/enterprise#56698
Fixed an issue where the PDF quote builder feature wasn't functioning properly when triggered by automated scheduled tasks (cron jobs). The fix involved removing duplicate code that was unnecessarily processing page annotations twice, streamlining the process and ensuring reliable operation in all scenarios.
Original PR description
task-3696462
This fix resolves a bug where product quantities were incorrectly increased by 1 when users clicked the edit option in a dropdown menu. The issue occurred because click events were being triggered globally on the product card. Now, the system properly detects when clicks happen within the dropdown menu and prevents the quantity update in those cases.
Original PR description
**Steps to reproduce:** 1- Install Field Service module 2- Create new task and click on products smart button 3- Hover over a product and click on the dropdown menu 4- Click on edit in the dropdown menu 5- Get back to the products page and check the quantity for the product you edited **Current behavior before PR:** When the user clicks on edit in the dropdown menu of any product the quantity gets increased by 1. This is happening because of the global click event so when the user clicks anywhere inside the kanban box the quantity gets updated. This is also happening in the catalog feature in the sale order. **Desired behavior after PR is merged:** This behavior has been adjusted by checking the target where the user click if it is inside the dropdown menu it will not update the product's quantity. opw-3689864 Check https://github.com/odoo/enterprise/pull/54645
This fix resolves an issue where the Estonia accounting localization package could not be installed on new companies due to incorrectly labeled tax accounts. The tax account names have been updated to accurately reflect their true tax percentages instead of showing "0%", allowing the package to install and activate successfully.
Original PR description
**Current behavior:** Creating a new company and trying to switch to the l10n_ee accounting localization package will result in a validation error, preventing the installation. **Expected behavior:**…
**Current behavior:** Creating a new company and trying to switch to the l10n_ee accounting localization package will result in a validation error, preventing the installation. **Expected behavior:** The package should be installed and automatically activated for the active company. **Steps to reproduce:** 0. Install the l10n_ee accounting module 1. Create a new company such that no fiscal localization package is active by default, then switch to this new company in the selection in the top right 2. In Accounting settings, select the Estonia fiscal localization package and save (this causes the exception) **Cause of the issue:** Certain tax accounts in the module do not have their names fully updated. They all were labeled as "0% ..." instead of their true percentages like all other tax accounts. **Fix:** Update the names of the offending tax accounts so that they are fully reflective of their true %. Associated with https://github.com/odoo/enterprise/pull/56496 opw-3683538 Forward-Port-Of: odoo/odoo#151515
This fix prevents the mail search feature from automatically loading additional messages when search results include a "load more" option. Previously, extra messages were being fetched immediately, which defeated the purpose of the load more feature and caused unnecessary system requests. Now, messages will only load when users explicitly click to load more.
Original PR description
Before this commit, if the search result would have "load more", the extra messages would immediately be fetched, defeating the purpose to have load more in the first place, and making unnecessary requests.
This fix resolves an issue in the POS Loyalty program where free products associated with loyalty tags were not being properly added to customer orders. The correction ensures that when customers qualify for tag-based loyalty rewards, the free products are now correctly included in their transactions, improving the customer loyalty experience.
Original PR description
This commit fixes an issue where free products associated with a tag were not being added to the order. The logic for adding free products based on tags has been corrected to ensure proper functionality. opw-3702040 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#154284 Forward-Port-Of: odoo/odoo#152005
This fix corrects a bug where search result counts were incorrectly showing zero when searching for talks or exhibitors on event websites. The issue was caused by missing search count data being sent to the display. Users will now see accurate search result counts when browsing event talks and exhibitors.
Original PR description
**Steps to reproduce** 1. Visit the website and open the event tab. 2. Access an event with the talks and exhibitor sub-menu. 3. Select the talks sub-menu and search for a talk -> Even if the talk exists, the search count shows zero -> The same thing happens in the exhibitor sub-menu **Technical** When searching for the talk or the exhibitor we didn't send the search_count due to this, it is always showing zero. A variable `sponsors` is renamed to `sorted_sponsors` as it was redeclared in the loop before the return dict **After this PR** Now the search_count will display the accurate result. Task-3659940 Forward-Port-Of: odoo/odoo#147876
This update brings the spreadsheet component to version 17.0.12 with multiple improvements and fixes. The changes include performance optimizations that reduce memory usage during exports, fixes for date format detection and number formatting with different locales, and corrections to user interface issues like autocomplete behavior and link editing. These improvements make spreadsheets faster and more reliable for users working with different regional settings.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/8fa2bab99 [REL] 17.0.12 https://github.com/odoo/o-spreadsheet/commit/a975183c3 [IMP] cell: avoid useless UPDATE_CELL…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/8fa2bab99 [REL] 17.0.12 https://github.com/odoo/o-spreadsheet/commit/a975183c3 [IMP] cell: avoid useless UPDATE_CELL Task: 3716689 https://github.com/odoo/o-spreadsheet/commit/cce8d745f [FIX] cell_menu_registry: link cell displays 'Edit Link' in context menu https://github.com/odoo/o-spreadsheet/commit/21316fa3f [PERF] export: reduce memory allocation Task: 3741429 https://github.com/odoo/o-spreadsheet/commit/22fea36f8 [PERF] model: reuse success dispatch result Task: 3741429 https://github.com/odoo/o-spreadsheet/commit/7e34a82ed [PERF] export: reduce deepEqual memory allocation Task: 3741429 https://github.com/odoo/o-spreadsheet/commit/bc1abee79 [PERF] export: reduce memory allocation Task: 3741429 https://github.com/odoo/o-spreadsheet/commit/647561217 [REF] borders: use helper to export Task: 3741429 https://github.com/odoo/o-spreadsheet/commit/f394133af [FIX] import: detect date format at import Task: 3729969 https://github.com/odoo/o-spreadsheet/commit/4ccfb11f1 [FIX] locale: accept thousands separator Task: 3720586 https://github.com/odoo/o-spreadsheet/commit/01d66c89f [FIX] locale: prevent identical decimal and thousands separator Task: 3720586 https://github.com/odoo/o-spreadsheet/commit/5aaa4cabb [FIX] performance: JetSet https://github.com/odoo/o-spreadsheet/commit/377ac6f42 [FIX] performance: rtree comparer https://github.com/odoo/o-spreadsheet/commit/fadc9a5d5 [FIX] composer: fix autocomplete shadow https://github.com/odoo/o-spreadsheet/commit/e5571a91b [FIX] composer: limit autocomplete height Task: 3675171 https://github.com/odoo/o-spreadsheet/commit/2dc4c8b7b [FIX] Selection: Loop selection based on spreaded formula Task: 3709340