We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db0cf6 commit 282c138Copy full SHA for 282c138
tg_portal/views/portal_templates.xml
@@ -94,7 +94,7 @@
94
<t t-foreach="countries or []" t-as="country">
95
<option
96
t-att-value="country.id"
97
- t-att-selected="country.id == int(country_id) if country_id else country.id == partner.country_id.id"
+ t-att-selected="country.id == int(nationality_id) if nationality_id else country.id == partner.nationality_id.id"
98
>
99
<t t-esc="country.name" />
100
</option>
0 commit comments