[FIX] base: properly layout contact name + country flag

Commit https://github.com/odoo/odoo/commit/13ee5596c6dd32b3471ce705b62b54ea59c00431
broke the behavior by changing a <t> to a <div> for no apparent reason.

(opw-1819038)
This commit is contained in:
qsm-odoo
2018-02-27 17:03:27 +01:00
parent 65be76829a
commit a206cca404
+2 -2
View File
@@ -7,9 +7,9 @@
<t t-if="not object.name and object.parent_name">
<span itemprop="name" t-esc="object.parent_name"/>
</t>
<div t-if="options.get('country_image') and 'country_id' in fields and object.country_id and object.country_id.image">
<t t-if="options.get('country_image') and 'country_id' in fields and object.country_id and object.country_id.image">
<span t-field="object.country_id.image" t-options='{"widget": "image", "class": "country_flag"}'/>
</div>
</t>
</div>
</template>
<template id="contact">