diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-11-14 13:15:50 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-15 10:12:07 +0000 |
| commit | bf87b4a758b3518e9a467f79879dacb0cb4f61c1 (patch) | |
| tree | 86ef334cabe723edab33a214ce0305ea1578caea /addons/snailmail_account | |
| parent | 00521bc998a88094f205c649505455d2c09f0e5c (diff) | |
[FIX] website_sale_coupon: correctly update free shipping on cart
Promotion programs can be added in 3 ways, no_code_promo_program_ids,
code_promo_program_id, and through applied_coupon_ids.
So free delivery obtained by the two latter would not correctly update
the cart page, because the result of _get_free_shipping_lines would be
empty.
closes odoo/odoo#40317
Forward-port-of: https://github.com/odoo/enterprise/pull/6663
X-original-commit: bfde75dd72d1e529bfb93d2b83b22b8c2f0fcea1
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/snailmail_account')
0 files changed, 0 insertions, 0 deletions
