Tuesday, November 12, 2024
6 changes · master
Enhancements to existing features
The Sign app's automated tests were updated to use the newer Hoot testing framework instead of older QUnit-based helpers. This improves maintainability and helps ensure future Sign changes can be validated more reliably, with no direct change expected for end users.
Original PR description
Purpose of this PR is to convert remove QUnit tests which rely on `mail/test_utils` to hoot. task-3818666
The Timesheet Grid module was updated to remove an outdated internal setup component. This cleanup helps keep the module easier to maintain without changing the day-to-day user experience.
Original PR description
This commit aims to remove legacy `setupManger`. Part of task-3818666
Spreadsheet users can now set a custom offset for period-based global filters, making it easier to compare or focus on flexible time windows. This improves reporting flexibility by letting teams adjust date periods directly to match their business needs.
Original PR description
This commit introduces the ability to define a custom offset value for period-based global filters. This allows users to adjust the time period dynamically based on their needs, enhancing flexibility when filtering data over custom periods. task-4031954
Boolean checks in database queries are now written in a more explicit and consistent way. This is an internal improvement that helps ensure reporting and payment-related features interpret yes/no values reliably across affected areas.
Original PR description
The comparison of booleans in SQL is now expressed as (expression IS TRUE) or (expression IS NOT TRUE). task-4067946 odoo/odoo#174829
Bank reconciliation now shows a preview of uploaded bank statement documents directly in the list view, making it easier for users to compare transactions with their source statement. The change improves review efficiency and reuses the same preview experience already available for accounting entries.
Original PR description
In the bank reconciliation list view, there is no document preview for the uploaded bank statements. It's not easy to compare transactions with a statement. This commit remedies that by adding the…
In the bank reconciliation list view, there is no document preview for the uploaded bank statements. It's not easy to compare transactions with a statement. This commit remedies that by adding the document preview to the bank reco list view. This commit: - Adds a field bank_statement_attachment_ids and its compute method to the class AccountBankStatementLine, allowing the link between the line in the list view and the bank statement attachments. - Moves the logic from AccountMoveLineListController/Renderer to common components (AttachmentPreviewListController/Renderer) that both AccountMoveLineListController/Renderer and BankRecListController/Renderer inherit from. - Modifies the BankRecListUploadRenderer to extend AttachmentPreviewListRenderer instead of ListRenderer - Modifies the template for the attachment preview in list view by removing conditions on mailPopoutService.externalWindow, as these checks were rendered redundant by updates made to the mail_popout_service (https://github.com/odoo/odoo/pull/174878). - Removes the override of openRecord in AccountMoveLineListController, as it is no longer necessary since https://github.com/odoo/odoo/pull/183718 - Removes unecessary use of useState for the mail.store and mail.popout services task-4196814
The appointment calendar now limits its display to dates within the month currently being viewed. This makes scheduling clearer by removing spillover dates from adjacent months and helping users focus on the relevant appointment period.
Original PR description
Limit calendar view to show only dates within the currently selected month. Task-4294202