Daily updates from Odoo
Monday, December 30, 2024
4 changes · 17.0
Resolved issues and error corrections
A technical issue preventing users from printing session reports has been resolved. The problem stemmed from outdated, unused code related to pro forma orders. This update removes the problematic code, ensuring the session report printing function works correctly.
Original PR description
Issue: ==================== - A traceback occurred when attempting to print the session report from the reporting menu. - The issue was caused by unused code related to pro forma orders left over from the refactoring in version 17.0. Fix: ==================== - Removed the unused code related to pro forma orders. - Ensured the session report can be printed without errors. Task-4438550
This update resolves a display issue where the Timesheets grid would show a 'No Timesheets Found' banner and disable navigation when viewing older timesheets. The fix ensures users can seamlessly browse and navigate through their timesheet data, regardless of age.
Original PR description
Issue:
- When an employee has timesheets older than 2 weeks, opening timesheets for a new week displays a "No Timesheets Found" banner, and the ability to navigate the grid to the previous week or display a month is disabled.
Steps To Reproduce:
1. Go to the Timesheets app.
2. Ensure there are only timesheets older than 2 weeks.
3. Exit the Timesheets app and reopen it.
5. Notice the "No Timesheets Found" banner is displayed.
6. Observe that the ability to navigate to previous weeks or display a month is disabled.
Solution:
- this issue was fixed here: https://github.com/odoo/enterprise/pull/64792/commits/1f2ef9fd9200045b556a6dbcefd2dd3f57098cc8 this is a simple backport of the fix to the 17.0 branch.
opw-4238024This update resolves an issue preventing users from exporting tax reports as PDFs. The previous fix introduced a widespread update requirement, now it's reverted to its original state, ensuring PDF export functionality is restored for all users. This allows for easier report generation and distribution.
Original PR description
**Issue:** Tax reports can't be exported as PDFs.  **Expected:** Users…
**Issue:** Tax reports can't be exported as PDFs.  **Expected:** Users should be able to generate tax reports PDFs. **Steps to reproduce:** - Activate Accounting app; - Install the Argentina localization; - Move to the Argentine company; - Go to `Accounting` > `Reporting` > `Tax Report`; - Change selection to display some lines (or add invoice lines); - Print PDF report. **Cause:** A fix (https://github.com/odoo/enterprise/commit/4c45cd704a7ddd46c93a1d8b8f5f3cf6934215a4#diff-8eb5e11a8f74f533b8999b3a5382c0d750bc87d2acc16ff5b4225775ba3ddd86L50) badly backports a correction for Argentine reports. This implies all Odoo users need to update their `account_reports` module to update the report view. **Fix:** Revert backport and keep useless currencies' display removal in subheaders only.  opw-4431015 opw-4430982 opw-4427336 opw-4430855 opw-4430735
This update resolves an issue where document filters wouldn't apply after archiving a document. The fix ensures that the correct filter criteria are used when loading documents, guaranteeing that users only see documents matching their selected activity filters. This improves the reliability and accuracy of the Documents app.
Original PR description
To reproduce ============ - Go to Documents app - schedule some activities on different documents for Mitchel Admin and Marc Demo - Go to the activity view, and set filter to Activities assigned to Mitchel Admin - only documents with activities assigned to Mitchel Admin should be shown - select one of them and move it to the trash -> the filter won't be applied anymore, and all documents with activities will be shown Problem ======= after archiving a document, the `load` method is called without `searchParams` where `domain` should be defined, so a default domain is used. Solution ======== set the `searchParams` in the `load` method with domain of the current filter opw-4354175