diff options
| author | Romain Derie <rde@odoo.com> | 2019-04-01 14:06:03 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2019-04-02 08:00:34 +0000 |
| commit | 9a6a00ed13aabceba8510533a65fccddd0ac0720 (patch) | |
| tree | 59410ffae56b79fd3f3dfa6aa8478fc57d04c752 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 327932f63a2abe5b1691debdbafd2dc3ee45a290 (diff) | |
[FIX] website_sale_delivery: show 'Free' instead of '$0'
As coupon does, show 'Free' instead of '$0' when a delivery is free
(`free_over` field).
That is more coherent and also prevent flicker when coupon and delivery are
both installed.
Step to reproduce:
- Have a free promotion from `sale_coupon` giving free delivery
- Have a delivery carrier free over x$
- Go to /shop/payment with over x$ in cart
- Select the delivery carrier, it will show 'Free' then will be replaced a
few seconds later by '$0'
Coming from #31857 (task-1867265)
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
