Tuesday, January 21, 2025
3 changes · 18.0
Enhancements to existing features
The self-ordering point of sale no longer loads product images as part of the initial POS data because those images are already loaded separately. This reduces unnecessary memory consumption and helps prevent memory errors in larger or image-heavy setups.
Original PR description
Before this commit, product images were unnecessarily loaded along with the POS data. This was redundant since the images are loaded separately. Additionally, loading the images caused excessive memory usage, leading to memory errors in certain scenarios. opw-4494712 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The update improves the wording and visibility of Peppol and BIS3 warnings in invoice Print & Send flows, making it easier for users to understand what needs attention before sending electronic invoices. It also makes the Peppol information prompt more prominent and directs unregistered companies to the registration wizard when they choose to activate Peppol.
Original PR description
- Improvements of message of Peppol/BIS3 related warnings of the Print & Send wizards. - Wording improvements for clarity. - Make the "What is Peppol" modal more present. Change its flow: the "activate" buttons now leads to the Peppol registration wizard if the company is not registered yet. task-4478365
Barcode and RFID scans now load stock quantity information in batches instead of one item at a time. This reduces delays and network calls when processing many serial numbers, improving performance for large warehouse operations or slower mobile connections.
Original PR description
In quant_barcode_model we fetch the quant at the new line creation. It's use in order to define the current theorical inventory quantity. But with rfid, it could be heavy since each serial number can be a new line and doing an rpc by line will be a bottleneck. To improve it, each time we add a product in the cache, we also add the associated quants. During the new line creation, we search for the product in the cache rather than doing an rpc with a specific domain