summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2020-04-24 09:00:58 +0000
committerjvm-odoo <jvm@odoo.com>2020-04-24 15:11:10 +0000
commit297641da69982d6c76bd591296636b479cabf657 (patch)
treee9db5bf2c799a69581ab224037ab5585626b844d /addons/website/static/src/xml/website.contentMenu.xml
parente94ce5a0dfa243868494b7df68716f15650eed5a (diff)
[FIX] website_sale_delivery: fix delivery state computation
Issue - Install eCommerce, Delivery Costs - Create 2 delivery methods: - Country: US States: Empty - Country: US States: Oklahoma - Publish both - In private browser, go to "Shop" - Order anything, select US as country The states list only contains Oklahoma. Cause When selecting a country, `get_website_sale_states` is triggered. (website_sale_delivery's one) It will loop on deliveries methods and add the delivery method states to an empty list. But when the delivery method conditions are country US & States empty. States = no states So only the states of the delivery method country US, states: Oklahoma are taken in account Solution Make all states availables when one of the delivery methods doesn't have states OPW-2222282 closes odoo/odoo#50167 X-original-commit: 4ef8186307c92637ea16f15c99fd538599acd575 Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions