diff options
| author | Romain Derie <rde@odoo.com> | 2019-04-01 14:06:14 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2019-04-02 08:00:34 +0000 |
| commit | 3bdf6cb3589b081b6491284bf32dd43c5d9f66d4 (patch) | |
| tree | 6e54870df0053f0d0e8cbd5821f9defcc10293a4 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 37f4bfff3f94cf379deb04349a2e4c383b082bd0 (diff) | |
[IMP] website_sale_delivery: load carrier price async
Before this commit:
User landing on checkout payment step had to select a carrier.
These carriers only showed 'Select to compute price'. This was done to
prevent the page to take seconds to load, since it would compute all the
carrier price by querying these carrier API then display the page.
The users would still click on every carrier anyway to check all the prices and
select the cheapest one.
Now:
Once the page is loaded, we will asynchronously retrieve every carrier prices.
That way, the page rendering page will not be affected and the user will be
able to see the price of every carrier after a few seconds without having to do
anything.
Closes #31857
task-1867265
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
