Monday, August 25, 2025
1 change · saas-18.3
Enhancements to existing features
Point of Sale now loads loyalty reward data more efficiently by avoiding repeated processing of the same product list. This can significantly reduce startup time for businesses with many loyalty programs and products, improving cashier readiness and customer checkout flow.
Original PR description
In databases with many Loyalty Rewards and products, the POS loading time can become very slow due to repeated product serialization in the `compute_discount_product_ids` function. This commit stores serialized and non-serialized versions of the product list once to avoid redundant serialization. On a DB with 144 programs and ~6500 products, loading time was reduced from 55s to 14s with this change. opw-4986057 Forward-Port-Of: odoo/odoo#223032 Forward-Port-Of: odoo/odoo#222301