summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-12-20 12:24:03 +0100
committerqsm-odoo <qsm@odoo.com>2017-12-20 12:25:53 +0100
commit16065f3ee2f02aba9b7a78f24522fc561cbdc2fe (patch)
tree00fd5f6bd7e98dbf60144d1872be1834114b4126 /addons/web/static/src/js/framework
parentd8846e8e64456b2498839260051f5f4d56414170 (diff)
[FIX] website_sale: hide checkout btn on emptied cart in all languages
When an user goes to its cart and removes all the items, the checkout button is hidden so that the user cannot start an order with no product. This behavior was not working in languages which are not the default language of the website, as the button was found in JS relying on the fact it started by "/shop/checkout", while it can be something like "/fr_FR/shop/checkout". Closes https://github.com/odoo/odoo/issues/21722
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions