Wednesday, January 17, 2024
5 changes · 17.0
Enhancements to existing features
This update optimizes the layout of form views by reducing the horizontal space used by the chat panel, allowing more room for the main form content. The change removes the WhatsApp button icon from the chat area to save additional space, making the interface more efficient and easier to use.
Original PR description
Currently the form sheet have a flex-grow-1, the chatter could use less horizontal space to leave more space for the form sheet's content. This commit follows it's community counterpart, removing the icon of the whatsapp button in the chatter to save space. Community PR: https://github.com/odoo/odoo/pull/147136 task-3641988
The unrealized currency gain/loss report now generates significantly faster on databases with large amounts of transaction data. Performance has been improved from 13-15 minutes down to approximately 2 minutes through database query optimization, making the report more responsive for users.
Original PR description
On database with large amount of move lines, the report is really slow to generate, this commit improve a bit the situation by: 1/ replacing the `amount_residuals_by_aml_id` CTE by a `LATERAL JOIN` 2/ Fixing inefficient subquery that exclude move line of an exchange move (`NOT IN` -> `NOT EXISTS`) 3/ rounding the `amount_residual` (aka "Balance in Foreign Currency") so that line where reconciled amount sum is not strictly zero (epsilon) are all correctly excluded On our test database, the report now render in ~2 minutes, down from ~13-15 minutes before OPW-3646825 Forward-Port-Of: odoo/enterprise#54014
This update improves the Indian Point of Sale system to detect missing company state information earlier in the process. Instead of encountering an error when confirming an order, users will now see the error when opening a POS session, allowing them to fix the configuration issue before starting work. This prevents wasted time and provides a better user experience.
Original PR description
Before PR: --- If state is not set in the company,it gives error on order confirmation. After PR: --- If state is not set in the company, now it gives error when opening POS session. task id: 3360161 Forward-Port-Of: odoo/odoo#149381 Forward-Port-Of: odoo/odoo#124605
This update prevents automated webhook actions from accidentally sending data to external servers when using test databases. The webhook URL is now set to an invalid address in test environments, and a warning is logged when these actions run. This protects your organization from unintended data transfers during testing.
Original PR description
The user can define automated actions for sending data to a remote server using a webhook. To prevent this feature from sending unwanted data from a test database, this commit neutralizes the field `webhook_url` to an invalid URL. When the action is run, a warning is logged.
This update refines how grid images with links are handled in the website editor. The changes remove unnecessary CSS overrides and simplify the code logic by using more reliable detection methods. These improvements make the code cleaner and easier to maintain without affecting how the feature works for users.
Original PR description
Commit [1] added the support for images with a link set on them in grid mode. As a follow up, this commit does the following: - Removes the `!important` from the grid image anchor CSS rules, as they were not really needed. - Checks if the image has a closest `o_grid_item_image` column instead of checking the parent in the `GridImage` options. Indeed, this class already guarantees that the image is well a grid image; we can therefore simplify the code. It also removes a comment that was forgotten in commit [2]. [1]: https://github.com/odoo/odoo/commit/085d70cea571ea80c141ac6005e8bd8333bd269f [2]: https://github.com/odoo/odoo/commit/d8c374e3e6b31bf88aa42952aadf3379936f7600 related to opw-3580128 Forward-Port-Of: odoo/odoo#148152