Saturday, October 26, 2024
3 changes
2 changes
Enhancements to existing features
Payroll summary reports are now handled by the main payroll engine instead of being separately implemented per country. This makes period-based payroll totals more consistent and easier to customize for local requirements, including salary rule selection.
Original PR description
Purpose ======= Almost all countries have something like a master report where you select a period of time and it will sum up all lines on that period of time and generate a file. This could be improved (selection of salary rules) + make it standard. Like other standard functions, every L10N will customize if needed. TaskID: 4127251
When a spreadsheet document is used as the basis for a new dashboard, Odoo now automatically moves the original spreadsheet to the trash. Users also receive a notification, reducing confusion and helping keep document lists cleaner.
Original PR description
This commit handles archiving original spreadsheet document when using the spreadsheet as a base for a new dashboard in Odoo. A notification is also displayed to the user to indicate that the original spreadsheet document has been moved to trash. task-3798026
1 change
Resolved issues and error corrections
Fixes an error that could occur when visitors sorted forum posts by activity. This keeps the forum browsing experience stable and prevents users from seeing a crash page during normal navigation.
Original PR description
Currently, a traceback is occurring when the user tries to sort a website forum posts. To reproduce this issue: 1) Install website_forum 2) Open `Forum` in the website and tries to sort based on activity Error:- ``` AttributeError: 'NoneType' object has no attribute 'groupby' ``` Here in the website_forum post, the query was passed as None, and because of the recent changes from the below-mentioned commit, a traceback occurs from the line[1]. https://github.com/odoo/odoo/blob/0bac60a7085c51ac8cb4f793b013dbea927d180c/addons/website_forum/controllers/website_forum.py#L126 Line[1]:- https://github.com/odoo/odoo/blob/0bac60a7085c51ac8cb4f793b013dbea927d180c/odoo/models.py#L5614-L5615 Commit:- https://github.com/odoo/odoo/pull/183925/commits/6b1df3fddedec486bc20010131ea8da566dade32 We can resolve this issue by passing an empty query instead of None. sentry-6008918989