Tuesday, November 12, 2024
4 changes · master
Enhancements to existing features
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
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
Resolved issues and error corrections
Sendcloud delivery documents are now posted as separate messages instead of being grouped together. This helps route labels, slips, and A4 documents to the correct printers and avoids mixed print jobs during transfer validation.
Original PR description
Validating a transfer for a Sendcloud delivery puts all attachments in the same chatter message, which seems to cause problems with all files being sent to the same printer in one go. This is undesirable when stickers, slips and A4 documents need separate printers. This change makes it generate a new message for every attachment. Task ID: [4011224](https://www.odoo.com/odoo/966/tasks/4011224)