summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src/xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-06-02 16:52:27 +0200
committerDenis Ledoux <dle@odoo.com>2016-06-02 16:57:36 +0200
commitc751c129da8762c8f7b4ed599db9479d40a77f6e (patch)
treed7444fe6b3262d22514e868680fe56bfda9e5987 /addons/base_import/static/src/xml
parentbde083a5f91a659430b1227f240872f912f23c12 (diff)
[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
Diffstat (limited to 'addons/base_import/static/src/xml')
0 files changed, 0 insertions, 0 deletions