summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-05-18 13:16:30 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-05-22 10:51:47 +0000
commit2bb9e779d11614b2ba9f2f598d5110bc50b27fc1 (patch)
tree6278c3376e9bd3f7278bda6934382c3884796ebc /addons/web/static/src/js/views/basic/basic_controller.js
parentda19d486ea17f4bdd40c5f46d9330b0ef247dc3b (diff)
[FW][FIX] sale_coupon: free product quantity in promotion
Create a promotion program with conditions: - Minimum purchase in currency (ex 100$ tax excluded) - Auto apply - On current order - Unlimited use And reward: - Free product - 1 Quantity Go to website shop. Fill an order with amount above the minimum required by the program. The promo will apply and add the free product. Increasing the order amount will eventually make the free product quantity increase, eventually overcoming the reward product quantity. Fixing by calculating the reward quantity using both minimum quantity and minimum amount and using as cap the to reward product quantity currently in cart opw-2246138 closes odoo/odoo#51680 X-original-commit: 02331a34cf66117b27cfa1e96078b4721cbd1e70 Related: odoo/enterprise#10722 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions