summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-05-13 12:15:23 +0200
committerXavier Morel <xmo@openerp.com>2014-05-13 12:15:23 +0200
commiteed75b620d0a28bac22ee5b3fd1ce4dbe1cb54bf (patch)
tree4238ac60fba946f0bc429b473053ded06f6e5a04
parentef06e5087a2658cafa105faf143ce6376dbe34d2 (diff)
[FIX] website_forum: replace deprecated country by country_id
-rw-r--r--addons/website_forum/views/website_forum.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml
index fbda6a40532..75b9fcbd7e7 100644
--- a/addons/website_forum/views/website_forum.xml
+++ b/addons/website_forum/views/website_forum.xml
@@ -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>