[FIX] website_forum: replace deprecated country by country_id

This commit is contained in:
Xavier Morel 2014-05-13 12:15:23 +02:00
parent ef06e5087a
commit eed75b620d
1 changed files with 1 additions and 1 deletions

View File

@ -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>