From c751c129da8762c8f7b4ed599db9479d40a77f6e Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 2 Jun 2016 16:52:27 +0200 Subject: [PATCH] [FIX] website_sale: `State` select readonly in shipping info If we take the below facts: - The country select is set as disabled when Shipping is set to "Ship to the same address" - The disable property of select inputs is removed when shipping is set to `create a new address`: In `website_sale.js`: ``` $selects.attr("disabled", value <= 0 ? null : "disabled" ).prop("disabled", value <= 0 ? null : "disabled" ); ``` We can safely assume that the select input "State / Province" was supposed to be set as `disabled` in the first place, not as `readonly` Before this revision, State / Provice was greyed when choosing "Create a new address" for shipping, and selecting the United States (but the select input was still usable, though, it was just greyed) opw-675739 --- addons/website_sale/views/templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 48d2fe86aa4..1046427c30f 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -960,7 +960,7 @@
-