[FIX] website_forum: replace deprecated country by country_id
This commit is contained in:
parent
ef06e5087a
commit
eed75b620d
|
@ -737,7 +737,7 @@
|
|||
<select class="form-control" name="country">
|
||||
<option value="">Country...</option>
|
||||
<t t-foreach="countries or []" t-as="country">
|
||||
<option t-att-value="country.id" t-att-selected="country.id == user.partner_id.country.id"><t t-esc="country.name"/></option>
|
||||
<option t-att-value="country.id" t-att-selected="country.id == user.partner_id.country_id.id"><t t-esc="country.name"/></option>
|
||||
</t>
|
||||
</select>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue