Friday, October 28, 2022
7 changes · master
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
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