Skip to content
Snippets Groups Projects
Commit a35cce20 authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] website_customer: fix new api migration

Avoid traceback 'list indices must be integers, not str' when country_id not in sidebar.
env.browse(id).read(['name']) return a list, so country['name'] should be country[0]['name']
parent 737cca3e
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment