diff options
| author | Romain Derie <rde@odoo.com> | 2019-02-13 13:02:52 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-03-07 15:12:43 +0000 |
| commit | edfa62bbaed888558da7ce88503b5bd168c30e54 (patch) | |
| tree | d8bcd09f8a2218d6b90d2e47a422b6ef78c93c22 /addons/web/static/src/js/fields | |
| parent | 8c91670a77228dbea7a971fb8ec82f8b764e3104 (diff) | |
[FIX] website_sale: remove race condition on variant tour
Before this commit, there was a possible race condition in the
`tour_shop_dynamic_variants` tour. Indeed, the `click add to cart` would be
triggered before the `click on the second variant` RPCs are done.
Trigger on `.oe_price .oe_currency_value:contains("0.00")` was supposed to
check that condition but it was not strong enough.
Then, clicking on add to cart would not call `create_product_variant` as it
would still have the first variant id in the hidden input instead of "0".
closes odoo/odoo#31670
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
