[FIX] point of sale: Customer's country

When editing a customer, the actual country of the customer must be shown.

opw:639863
This commit is contained in:
Goffin Simon 2015-05-27 15:58:03 +02:00
parent 1610fc41ef
commit 716fec913a
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,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>