Monday, April 15, 2024
12 changes · master
Enhancements to existing features
A radio-button choice control that can show only approved options is being moved from Surveys into the shared web layer so it can be reused more broadly. This keeps translated option labels intact while simplifying how allowed choices are configured.
Original PR description
The "radio selection with filter" widget allows to show/hide some selection values given a list of allowed selection values. The feature is similar to the "filterable selection" widget but for radio buttons. It was added inside survey first where it proved reliable. We wanna use it in base too. A slight modification took place while moving the file, the allowed selection context now takes a list of technical strings instead of a list of (technical string, humain string) pairs. This allow to keep the (possibly translated) original values. task-3820247 community: https://github.com/odoo/odoo/pull/158535
Resolved issues and error corrections
The timesheet leaderboard now shows the correct prompt when a user has not yet appeared in the rankings. This avoids showing billing-rate guidance when the leaderboard ranking feature is enabled, reducing confusion for users tracking their timesheet progress.
Original PR description
If the current user isn't in the leaderboard, a message gets displayed on the indicator: "Record timesheets to earn your rank!" or "Record timesheets to determine your billing rate!", depending on if the leaderboard feature is on or not. The condition for this was wrong, and as such, the second message would get displayed whether the feature was on or not. This PR fixes the condition.
Code cleanup and technical improvements
This update standardizes the naming of internal test helper actions and checks across Point of Sale-related modules. It does not change customer-facing behavior, but it makes future testing and maintenance clearer and more consistent for development teams.
Original PR description
*: all pos-related modules change utils name in test to harmonize action (prefix "click") and check (prefix "is") confirmRefund -> clickConfirmRefund mergeTableHelpers -> clickMergeTable elementDoesNotExist -> isElementDoesNotExist changeIs -> isChangeValueIs remainingIs -> isRemainingValueIs task id :
Miscellaneous changes
When creating a write-off during the reconciliation, the label defined is set on only one line instead of all the line of the write-off journal entry. opw-3773178 closes odoo/enterprise#59142 Signed-off-by: Laurent Smet (las) <las@odoo.com> Forward-Port-Of: odoo/enterprise#60694 Forward-Port-Of: odoo/enterprise#60056
Original PR description
When creating a write-off during the reconciliation, the label defined is set on only one line instead of all the line of the write-off journal entry. opw-3773178 closes odoo/enterprise#59142 Signed-off-by: Laurent Smet (las) <las@odoo.com> Forward-Port-Of: odoo/enterprise#60694 Forward-Port-Of: odoo/enterprise#60056
Adapted the tax report to 2024. There does not seem to be any other changes to do. To avoid this kind of issue, let's make the version's year dynamic opw-3859628 Forward-Port-Of: odoo/enterprise#60634 Forward-Port-Of: odoo/enterprise#60507
Original PR description
Adapted the tax report to 2024. There does not seem to be any other changes to do. To avoid this kind of issue, let's make the version's year dynamic opw-3859628 Forward-Port-Of: odoo/enterprise#60634 Forward-Port-Of: odoo/enterprise#60507
Since [1], when attempting to uninstall web_enterprise, the webclient will no longer start with website_enterprise installed. The reason for this is because the patch to color_scheme_service imports the service from web_enterprise, but `__manifest__` was not updated to mention the dependency. This commit fixes that. [1]: https://github.com/odoo/enterprise/commit/90df39603b07 Forward-Port-Of: odoo/enterprise#60231
Original PR description
Since [1], when attempting to uninstall web_enterprise, the webclient will no longer start with website_enterprise installed. The reason for this is because the patch to color_scheme_service imports the service from web_enterprise, but `__manifest__` was not updated to mention the dependency. This commit fixes that. [1]: https://github.com/odoo/enterprise/commit/90df39603b07 Forward-Port-Of: odoo/enterprise#60231
This commit fixes an issue where readonly users are able to access and restore an old version of an article via the history dialog but it didn't affect the DB as no write could be done by this user. The change was only visible and functionnally didn't change the body field. Now when a user accesses to an article where he can only read, the history dialog button is hidden. task-3836201 Forward-Port-Of: odoo/enterprise#59609
Original PR description
This commit fixes an issue where readonly users are able to access and restore an old version of an article via the history dialog but it didn't affect the DB as no write could be done by this user. The change was only visible and functionnally didn't change the body field. Now when a user accesses to an article where he can only read, the history dialog button is hidden. task-3836201 Forward-Port-Of: odoo/enterprise#59609
community: https://github.com/odoo/odoo/pull/160655 Forward-Port-Of: odoo/enterprise#60165
Original PR description
community: https://github.com/odoo/odoo/pull/160655 Forward-Port-Of: odoo/enterprise#60165
In this https://github.com/odoo/enterprise/commit/76caf5f5675f97128b88fbcffedaf1e85da516d5, it was decided to remove the report. But we received a lot of feedbacks about users missing the report, especially from anglo-saxon countries, where this report is often used in Audit processes to report on the differences between the Accounting and Bank reported amounts on bank accounts. In this pr we decided to put it back and improve it. What has been improved: - The display of the report is now co
Original PR description
In this https://github.com/odoo/enterprise/commit/76caf5f5675f97128b88fbcffedaf1e85da516d5, it was decided to remove the report. But we received a lot of feedbacks about users missing the report, especially from anglo-saxon countries, where this report is often used in Audit processes to report on the differences between the Accounting and Bank reported amounts on bank accounts. In this pr we decided to put it back and improve it. What has been improved: - The display of the report is now consistent with the different reports - Use of custom engine - New sections added - Rework of the warnings task: 3756179 Forward-Port-Of: odoo/enterprise#60220 Forward-Port-Of: odoo/enterprise#58640
Purpose ======= Fix the tags count which isn't updated in the search panel when adding or removing the tag from a document using the inspector. Specifications ============== When removing or adding a tag to a document using the inspector, the record tag was updated but the search panel wasn't notified of the tag update. Notifying the search model after the tag update to modify the tag count. Task-3837247 Forward-Port-Of: odoo/enterprise#60541 Forward-Port-Of: odoo/enterprise#59764
Original PR description
Purpose ======= Fix the tags count which isn't updated in the search panel when adding or removing the tag from a document using the inspector. Specifications ============== When removing or adding a tag to a document using the inspector, the record tag was updated but the search panel wasn't notified of the tag update. Notifying the search model after the tag update to modify the tag count. Task-3837247 Forward-Port-Of: odoo/enterprise#60541 Forward-Port-Of: odoo/enterprise#59764
Steps to reproduce =================== 1. Go to activity view. 2. Click on schedule activity. 3. Select any document to schedule an activity. Nothing happens Technical ========== The commit https://github.com/odoo/enterprise/commit/e35017719d0996279f362423a7b4b1c6e30b9766 prevents the default behavior of the list view, but it's required for list view pop-up when prompted to schedule an activity from activity view. Note : - The schedule activity dialog box renders the list view of
Original PR description
Steps to reproduce =================== 1. Go to activity view. 2. Click on schedule activity. 3. Select any document to schedule an activity. Nothing happens Technical ========== The commit https://github.com/odoo/enterprise/commit/e35017719d0996279f362423a7b4b1c6e30b9766 prevents the default behavior of the list view, but it's required for list view pop-up when prompted to schedule an activity from activity view. Note : - The schedule activity dialog box renders the list view of the related module. In our case, it renders the base list view from the documents and loads its JS. - We cannot change this in stable so we fixed the issue in JS. After this PR ================ The activity view opens up to schedule an activity for the document. Task-3718760 Forward-Port-Of: odoo/enterprise#56359
Currently, an error occurs when the user tries to uninstall the `hr_appraisal_survey` module. error: `AttributeError: module 'odoo.addons.hr_appraisal_survey' has no attribute 'uninstall_hook'` This is because the recently refactored code with https://github.com/odoo/enterprise/commit/8487fc4e7464316539c3ecaebd1844a556ed0c86 in saas-17.2 removes the `uninstall_hook` method, but its reference is still present in the manifest. This commit will fix the above issue by removing `uninstall_ho
Original PR description
Currently, an error occurs when the user tries to uninstall the `hr_appraisal_survey` module. error: `AttributeError: module 'odoo.addons.hr_appraisal_survey' has no attribute 'uninstall_hook'` This is because the recently refactored code with https://github.com/odoo/enterprise/commit/8487fc4e7464316539c3ecaebd1844a556ed0c86 in saas-17.2 removes the `uninstall_hook` method, but its reference is still present in the manifest. This commit will fix the above issue by removing `uninstall_hook` from the manifest. sentry-5174558827 Forward-Port-Of: odoo/enterprise#60612