Saturday, July 27, 2024
1 change · saas-17.2
Resolved issues and error corrections
Point of Sale loyalty rewards and rules no longer automatically load large product lists that are not immediately needed. This prevents slowdowns for businesses with many products while keeping loyalty configuration behavior intact.
Original PR description
Before this commit, databases with a large number of products would load all products in `all_discount_product_ids` of rewards and `valid_product_ids` of rules due to automatic loading of missing products. This commit exempts these fields from being automatically loaded. opw-4061504 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr