Skip to content

Commit 282c138

Browse files
committed
[FIX] tg_portal: исправили неправильную обработку ввода национальности
1 parent 8db0cf6 commit 282c138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tg_portal/views/portal_templates.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<t t-foreach="countries or []" t-as="country">
9595
<option
9696
t-att-value="country.id"
97-
t-att-selected="country.id == int(country_id) if country_id else country.id == partner.country_id.id"
97+
t-att-selected="country.id == int(nationality_id) if nationality_id else country.id == partner.nationality_id.id"
9898
>
9999
<t t-esc="country.name" />
100100
</option>

0 commit comments

Comments
 (0)