summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-06-16 09:02:44 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-06-22 11:51:30 +0000
commit1c856c779b5bc6f22a864ad696c98f4eeb7a7403 (patch)
tree8bbdd3e8a90ec8b60f45fd864d4ac278f88ce51e /addons/web/static/src
parent4b7a4d4f0ce6f1c2117e97e49d85e14ce61420e1 (diff)
[FIX] sale_coupon: fix order total price for reward computation
Create a promotion program with conditions: - Minimum product quantity (ex 2) - Minimum purchase in currency (ex 500$ tax excluded) - Auto apply - On current order - with reward: -- Free product (Free Prod A) -- 1 Quantity Create a sale order. Insert 3x ProdA @ 1000$. Click on "promotions". Nothing will occur because the minimum order amount for applying the reward is calculated removing from the order the product associated with the reward. This removed all of the products from the order, so the result is 0. Fixing by subtracting just the amount specified in the reward program. opw-2274316 closes odoo/odoo#53407 X-original-commit: 804461fb1353c931986eeae94bd3ad8465b604e7 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions