summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJeanphy <hzh0292@qq.com>2019-11-16 03:33:03 +0000
committerMartin Trigaux <mat@odoo.com>2020-01-06 13:55:30 +0000
commiteb3257ef21aff01e9b2b745fb5281f6edf0f9234 (patch)
treea3c9fc703aff5973482d9628c755fbb8edb064a0 /addons/web/static/src/js/views/basic/basic_controller.js
parent22f736ca388ac79e168117a1f5a906c199f50a12 (diff)
[FIX] sale_coupon: correct qty for the reward product
Before this commit, a promotion program such as 'Buy 10, get 2 fore free' would have only added a single product in the reward. This commit fixes this problem by ensuring that the quantity for the reward product is computed as the number of times the program is applicable multiplied by the configured reward quantity, instead of just counting the number of times the program is applicable. closes odoo/odoo#42768 X-original-commit: 4251d44c2e635e0a78d2320cf020777ad5c55722 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions