[FIX] point_of_sale: customer edition would reset the country to none.

This commit is contained in:
Frédéric van der Essen
2015-04-20 11:35:15 +02:00
parent 63e1d36283
commit 3deec5553b
+1 -1
View File
@@ -314,7 +314,7 @@
<select class='detail client-address-country' name='country_id'>
<option value=''>None</option>
<t t-foreach='widget.pos.countries' t-as='country'>
<option t-att-value='country.id' t-att-selected="partner_country_id ? ((country.id === partner.country_id[0]) ? true : undefined) : undefined">
<option t-att-value='country.id' t-att-selected="partner.country_id ? ((country.id === partner.country_id[0]) ? true : undefined) : undefined">
<t t-esc='country.name'/>
</option>
</t>