Tuesday, March 18, 2025
5 changes · master
Enhancements to existing features
Spreadsheet date filters now offer a simpler, improved date and time picker experience. This makes it quicker and less error-prone for users to choose dates when working with spreadsheet filters.
Original PR description
See community PR task-4613140
GSTR-2B bill matching now uses the IRN number when available, helping identify supplier bills more accurately and reducing incorrect partial matches. When Odoo creates a missing bill from GSTR-2B data, it also saves the IRN number, with checks to keep IRNs unique per company.
Original PR description
This commit adds an `IRN number` in matching parameters/keys. If the bills from `GSTR2B` have an IRN number then we consider the IRN number for finding the bill in the system and matching the bill with the GSTR2B bill. Also, we are removing ref from matching keys for false ref. A false ref can consider any gstr2b bill with only false ref to go through a matching process and match them partially matched. If there is no bill found in the system, but the bill is present on GSTR2B then we are creating the bill, here if the IRN number is available then add it to the new bill created. task-4408351
When document-related modules are installed, existing attachments on supported records will now be turned into the corresponding Documents entries automatically. This helps customers get a complete document library after enabling integrations, without needing manual cleanup or re-uploading files.
Original PR description
The document App introduces the document mixin that creates automatically a related document when linking an attachment to a record of a model that extends that mixin. But when we enable a bridge…
The document App introduces the document mixin that creates automatically a related document when linking an attachment to a record of a model that extends that mixin. But when we enable a bridge that add this behavior on some models, it is not retroactive. That's what we are implementing here: at install of such bridge module, we launch a cron that create all the document that would have been created if the bridge was installed from the beginning. Note that we don't deal here with the settings that allow the user to enable or disable this behavior as it will become standard with the PR: odoo/odoo#74571. Technical notes: - we avoid to launch the document creation in the post init hook as it could take some times. Instead, we launch the creation in a cron. The cron is defined in the document App and is configured to never be executed (interval 9999 months). In the post init hook, we just configure the next_call so that it is only executed once after the upgrade. To allow some retry in case of concurrent update/errors, we use the progress mechanism of the cron. The limitation is that we only allow a retry if there has been some progression to avoid infinite loop (see code). - the cron doesn't limit the creation of the documents to the bridge that has just been installed. It shouldn't be a problem as if the user delete a document linked to an attachment related to a record, the attachment is also deleted (i.e. won't lead to the creation of an unwanted document if we run the cron again). Task-3486322
WhatsApp event messaging now better supports events with multiple time slots. This helps businesses communicate more accurately with attendees when an event offers several scheduling options.
The report editor now offers a more consistent experience across editing modes. Users can preview reports in the visual editor, print from the preview, and use a read-only preview in XML editing mode, reducing confusion and making report checks easier.
Original PR description
task-3865778