Friday, October 28, 2022
12 changes · master
New functionality added to Odoo
Adds a message context menu in Discuss so users can react with emojis more easily. This improves day-to-day collaboration by making message reactions more accessible and organized.
Original PR description
Create Emoji Context Menu Task #2641441 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
Adds and reorganizes the message reaction menu in Discuss so users can more easily react to messages from the message context menu. The change also separates reaction group display logic to prevent rendering problems when opening the Discuss page.
Original PR description
The model MessageReactionView is splited, but messageReactionGroup field in MessageReactionGroupView model is undefined when the discuss page is rendering! --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
Employees can now view their time off calendar and list even when working with a company that is not their default. This prevents missing time off entries and access errors in multi-company setups, making HR records more reliable for users who switch companies.
Original PR description
Before this commit, if you are on the time off dashboard calendar of a company that is not set as your user's default company, no time off is displayed. Also, if you try to consult your time offs on the dashboard tree view and if you have one leave with a leave_type without company on a company that is not the one you're logged in, you'll get a access error. This commit fixes both issues. taskID 2893659
Features or functions removed from Odoo
The old Point of Sale product cache module has been removed because newer POS loading behavior already speeds up startup by loading fewer products first and the rest in the background. This simplifies the system and avoids maintaining functionality that is no longer needed.
Original PR description
Since we introduced in 15.0 the possibility to limit the number of product loaded at the launch of the POS and to load the remaining ones in background, we don't need anymore a cache of the products to have a faster way to start the POS. So we remove this module as it won't be needed anymore. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo now stores pre-compressed versions of bundled website assets when configured for NGINX file streaming. This lets NGINX serve smaller files directly instead of compressing them on demand, improving page load efficiency and reducing server work for deployments using this setup.
Original PR description
Since https://github.com/odoo/odoo/commit/da8def8e410 https://github.com/odoo/documentation/commit/0f2b82cb Odoo delegates serving attachments to NGINX. In case of an uncompressed text-file such as…
Since https://github.com/odoo/odoo/commit/da8def8e410 https://github.com/odoo/documentation/commit/0f2b82cb Odoo delegates serving attachments to NGINX. In case of an uncompressed text-file such as css and js files and when the browser advertise it understands gzip via the `Accept-Content: gzip` request header, NGINX will gzip the file on-the-fly and add a `Content-Encoding: gzip` response header in order to save some bandwidth. It is important that NGINX gzips the file on the fly as transmitting an uncompressed file takes more time than compressing it server side, transmitting it and uncompressing it client side. In this commit, using the `--x-sendfile` CLI option, new bundled assets are stored twice in the filestore: uncompressed and gzipped (same path with an extra `.gz` suffix to the filename). Using the `gzip_static: on` directive in the `/web/filestore` internal NGINX location, NGINX locates and streams the gzipped file right-away instead of compressing the uncompressed file on-the-fly. See the [Serving static files and attachments] section in the documentation. [Serving static files and attachments]: https://www.odoo.com/documentation/master/administration/install/deploy.html#serving-static-files-and-attachments Troubleshooting --------------- In order for the `gzip_static` directive to work, NGINX must have been compiled with the `--with-http_gzip_static_module` flag. On debian-based system that module is enabled by default. You can verify you support it via `nginx -V`. In order for nginx to stream the `.gz` assets, the `.gz` assets must exist on disk. The `.gz` assets are only created upon compiling the bundles with the `--x-sendfile` CLI option set. To verify it works, you can `strace` the nginx workers as you access the home page via your browser (make sure to disable the cache and the debug mode). The workers should open some files in the filestore, they are js/css assets and images. For the js/css files, make sure the workers **ONLY** open the `.gz` version of the file. Task: 2901173
Users can now review and adjust analytical entries from a dedicated tab on the invoice. This reduces extra navigation and makes it easier for finance teams to keep invoice-related cost and revenue tracking accurate.
Original PR description
Add the ability to modify the analytical entries directly from the invoice through a dedicated tab. Task: 2027039
Users can now mark previous vendor bills as favorites and reuse their bill lines when creating new vendor bills. This helps accounting teams save time and improve consistency when entering recurring or similar supplier invoices.
Original PR description
Save users time when filling in vendor bills thanks to stars put on previous invoices. The feature will act like the current auto-complete : auto-complete the bill lines only. Task : 2294483
This update adds a dedicated dialog in Discuss so users can open a message context menu and see reaction groups along with the people behind them. It makes message engagement clearer and easier to understand without leaving the conversation.
Original PR description
Add dialog for message context __in progress__ --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves DHL, EasyPost, FedEx, and UPS delivery connector tests by using mocked carrier responses instead of relying on live external APIs. It also fixes several delivery edge cases, such as zero-value insurance, missing customs codes, package handling, and shipment weight calculations, helping shipping flows remain more reliable.
Original PR description
Fixing the tests and introducing mock requests for the delivery connectors.
Financial reports now include an option to hide rows or columns that have no balance, making large reports easier to read and review. Labels and tooltips were also made more consistent so users can better understand the available reporting options.
Original PR description
In order to render the financial reports cleaner, we are adding an option to hide the columns in which balance is zero. Task id #2359443
The accounting accrued orders wizard now preserves user input when invoice line data is refreshed. This prevents the wizard from becoming unusable during normal accounting workflows, reducing interruptions for finance users.
Original PR description
Narrow cache invalidation to order invoice_lines. Previously, "self.invalidate_cache()' would reset the wizard, rendering it unusable. Task: 2555642
This fixes issues that prevented shared document pages from loading and stopped PDF thumbnails from appearing after a library update. Users can once again open shared document links reliably and see document previews as expected.