From 03e80650c7bf40a5fdac7019a1306e5e1db6565b Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 15 Feb 2019 10:17:47 +0000 Subject: [PATCH] [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 --- .../website_sale_stock/views/website_sale_stock_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale_stock/views/website_sale_stock_templates.xml b/addons/website_sale_stock/views/website_sale_stock_templates.xml index 6e755321851..9581154c616 100644 --- a/addons/website_sale_stock/views/website_sale_stock_templates.xml +++ b/addons/website_sale_stock/views/website_sale_stock_templates.xml @@ -37,7 +37,7 @@