diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2019-02-15 07:48:19 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2019-02-15 07:48:19 +0000 |
| commit | c117caae1b4899a3b8dbbdd1a13a8665f3f0f6d6 (patch) | |
| tree | 8171a6f4c01bd586092d7a308a8a4de53a306be9 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 84affe37a17735fbd5d92ee6e20cb4782772bb23 (diff) | |
[FIX] website_sale_delivery: selection when waiting of shipper rendering
- Set up as a normal shipper and one which will cause an
error (e.g. service not available for customer address; or no price rule
matching)
- Order a product on eCommerce, go to Payment page
When changing of delivery method, from the second delivery, to the first
and to the second delivery again, the behavior of the 'Pay Now' button
is the follow:
* choose second delivery - button disabled
* choose first delivery - button enabled
* choose second delivery - button disabled
If the connection to the server is to slow, the choose of the delivery
and the state of the button are not syncronised. That means that at the
end of this changing, the button stays active long enough to click it,
and pass an order without a delivery charge.
Now, only the last request is take into account, and the false positives
are avoided.
opw-1937575
closes odoo/odoo#31127
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
