Files
odoo_source/addons/pos_loyalty/static
Louis (loti) 90f16d0979 [FIX] *_loyalty: consider product domains for min amount to reach
Product domains were not considered when computing the min amount to reach to get a discount. For
example, if you created a discount with a minimum amount of 100 for product "X", the discount
would have been applied, even if the amount for "X" was less than 100, as long as the total amount
of the SO was at least 100.

After this fix, only products that match the domain will be considered when computing the amount
that should be compared to the discount's min amount.

opw-3626345

closes odoo/odoo#155085

closes odoo/odoo#162020

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Louis Tinel (loti) <loti@odoo.com>
2024-04-16 10:32:32 +00:00
..
…