summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core/utils.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2019-02-15 10:17:47 +0000
committerNicolas Lempereur <nle@odoo.com>2019-02-15 10:23:43 +0000
commit03e80650c7bf40a5fdac7019a1306e5e1db6565b (patch)
tree8059fe237e1900e55b0aab37d67cade623947fa7 /addons/web/static/src/js/core/utils.js
parentbb7b121206ef9af8f7c365552500b1c51f96638e (diff)
[FIX] website_sale_stock: no edit out of stock msg
On a product page on the website, with website_sale_stock there may be an information about the product being out of stock or not. This information is loaded on the fly for the current variant (switching variant will reload it) and so this should not be modified with the editor because: - the saved edition would appear on all product (even if those in stock) - the saved edition is replace quickly with the real state So if we want to change the content, there is no other way than a custom change on JS template website_sale_stock.product_availability or modifying translations. opw-1936179 closes #31135
Diffstat (limited to 'addons/web/static/src/js/core/utils.js')
0 files changed, 0 insertions, 0 deletions