summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-08-30 10:03:26 +0000
committerLucas Lefèvre <lul@odoo.com>2019-08-30 10:13:29 +0000
commit7ff683a7e1d852f59594cd353424ec6e66d4662c (patch)
treec1a77c1e7c49b6a377d79b016dc604b3cce7776e /addons/website/static/src/xml/website.contentMenu.xml
parent7adc5e610b98a954488506885f215d9a6bdb1cb5 (diff)
[FIX] portal: Allow to edit without state
From the user's frontend "My Account" page: - Try to edit your details. - Complete the form with all required fields. - Select a country for which there are no states (the `state_id` field is hidden) - And confirm => Internal server error The state was not filled, therefore the value sent to the server is an empty string. This empty string is used in the UPDATE query to register the state value. Since it's a string and not a valid (integer) id, the query fails. closes odoo/odoo#36272 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions