diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-06-07 14:47:43 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-06-13 11:35:58 +0000 |
| commit | bb9c3910bb10e41cbc2b4f6ec97b6aee88a19dde (patch) | |
| tree | eed81b46de447a5641b4f0598097ccbb017100aa /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 4b8f72eb2315e675ca6d5a0d0961272fc024c475 (diff) | |
[FIX] website_sale: fix modal price when Select Quantity is disabled
To reproduce:
- Go on the website page of a product with optional products.
- Disable the Select Quantity customize show.
- Click add to cart.
This will open the optional product modal, where the quantity will be displayed.
However changing that quantity will have no effect, especially the price will
not update accordingly.
The real issue is that the quantity should not be displayed there if Select
Quantity is disabled, but this has never worked before, so this is outside the
scope of this fix.
Anyway, since the quantity is present there, we would at least expect it to
correctly recompute the price, which worked fine when the modal was introduced,
but has been broken since 51e51055bf42a360838f9a22c61bc01b226301d1
opw-2005317
closes odoo/odoo#33992
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
