Thursday, March 14, 2024
9 changes · 17.0
Enhancements to existing features
This update adds a reusable function to the analytic module that simplifies how analytic accounts are extracted from distribution data. By centralizing this common operation, the change reduces code duplication across the system and makes the codebase easier to maintain and update in the future.
Original PR description
[IMP] analytic: Add a function to get the analytic accounts off of analytic_distribution dict, this improvement is to avoid rewriting the same code all over whenever we wanna get the accounts. [related PR](https://github.com/odoo/enterprise/pull/57159) opw-3756270
This update adds a log message to confirm when a data module has been successfully imported into the database. Previously, there was no notification in the logs when an import finished, making it harder to track import operations. Now administrators will see a clear confirmation message when modules are imported.
Original PR description
Before this commit, there was no message in the logs when the import of a data module is finished. This commit adds a log info to state that the module is now in the db.
Resolved issues and error corrections
Fixes an issue where removed wishlist items could reappear when shoppers used the browser back button. The wishlist now returns fresh data in the needed format, helping customers see an accurate list and reducing confusion during shopping.
Original PR description
Steps to reproduce: ------------------- - add products to the wishlist; - click on the wishlist button; - remove a product from the wishlist; - click on the shop; - click on the back arrow in the browser. Issue: ------ The wishlist still contains the item that has been removed. Cause: ------ The `get_wishlist` controller can return two different types of response `html` and `json`. By default, the response will be of the `html` type, and will therefore be cached by the browser. Solution: --------- Force the response type to `json` when necessary. opw-3659181
Miscellaneous changes
Description of the issue/feature this PR addresses: Current behavior before PR: ``` psycopg2.errors.SyntaxError: syntax error at or near ")" LINE 6: AND account_move_line.partner_id IN () ^ ``` Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#141548 Forward-Port-Of: odoo/odoo#141124
Original PR description
Description of the issue/feature this PR addresses:
Current behavior before PR:
```
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 6: AND account_move_line.partner_id IN ()
^
```
Desired behavior after PR is merged:
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#141548
Forward-Port-Of: odoo/odoo#141124Fixed an issue where the Documents Inspector panel was incorrectly appearing at the bottom of the Schedule Activity dialog box. The inspector is now hidden when the document list is displayed within a dialog, providing a cleaner user experience and preventing unnecessary UI elements from cluttering the activity scheduling interface.
Original PR description
To reproduce the issue: - Switch to the `Activity` view. - Click `+ Schedule Activity`. - The dialog box opens up with a list of documents. - Scroll down to spot the `DocumentsInspector` present at the bottom. Reason: - The dialog box renders the list view of the related model, depending on the module it is invoked in. - There is no condition present to evaluate when to display the `DocumentsInspector` and when not to. Fix: - Since the inspector is invoked inside the `Dialog` component, we check that condition. After this commit: - We no longer see the inspector inside the Dialog box. Task-3714496 Forward-Port-Of: odoo/enterprise#56056
A method name in the helpdesk timer service was corrected to ensure proper functionality. This fix resolves an internal naming inconsistency that could have caused issues with the timer feature in the helpdesk module.
Original PR description
This PR fixes the name of a method in the list of async functions of the `timerHelpdeskService` service. Forward-Port-Of: odoo/enterprise#58583
This update fixes a visual issue in the grid view where row highlighting didn't extend all the way to the edges of the screen. The fix ensures that when users select or highlight rows in grid views (such as in the Timesheets module), the highlight now properly spans the full width, providing a cleaner and more professional appearance.
Original PR description
Steps: - Install Timesheets - Click on To validate - Click on Last week Issue: - In grid view ,the highlight on the row doesn't go all the way to the sides Fix: - Modify the scss and java script elements so that the highlight goes all the way of the sides task-3537811 Forward-Port-Of: odoo/enterprise#49102
This update fixes the organization of filter options in the timesheet search view. The 'My' filters section now appears at the top of the list where users expect to find it, improving the search experience and making it easier to quickly filter for personal timesheets.
Original PR description
Steps to reproduce: - Install timesheets - click on all timesheets - open search view Issue: - in search view 'my' filters block should be at the top of the list Cause: - misplacing of the name month filter causes the issue. Solution: - if we replace that filter below the group then the issue will be solved. task-3772684 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 update fixes missing and incorrect translations in the VJ grid section of the Italian Tax Report. The changes ensure that Italian users see accurate and complete translations for all tax report fields, improving the clarity and usability of the tax reporting feature.
Original PR description
Some translations were missing or incorrect for the VJ grid in the Tax Report. Task link: https://www.odoo.com/web#model=project.task&id=3724926 task-3724926