|
|
@ -3,7 +3,7 @@ |
|
|
|
<!-- Copyright (C) 2019 Open Source Integrators |
|
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> |
|
|
|
|
|
|
|
<template id="external_layout_standard" |
|
|
|
<template id="external_layout_standard_logo" |
|
|
|
inherit_id="web.external_layout_standard"> |
|
|
|
|
|
|
|
<xpath expr="//img[@t-if='company.logo']" position="replace"> |
|
|
@ -18,18 +18,26 @@ |
|
|
|
style="max-height: 45px;" alt="Logo"/> |
|
|
|
</t> |
|
|
|
</xpath> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template id="external_layout_standard_address" |
|
|
|
inherit_id="web.external_layout_standard"> |
|
|
|
|
|
|
|
<xpath expr="//div[@t-field='company.partner_id']" position="replace"> |
|
|
|
<t t-if="'brand_id' in o.fields_get() and o.brand_id"> |
|
|
|
<div t-field="o.brand_id.name"/> |
|
|
|
<div t-field="o.brand_id" |
|
|
|
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'/> |
|
|
|
t-options='{"widget": "contact", "fields": ["address"], "no_marker": true}'/> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<div t-field="company.partner_id" |
|
|
|
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'/> |
|
|
|
</t> |
|
|
|
</xpath> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template id="external_layout_standard_footer" |
|
|
|
inherit_id="web.external_layout_standard"> |
|
|
|
<xpath expr="//ul[hasclass('list-inline')]" position="replace"> |
|
|
|
<t t-if="'brand_id' in o.fields_get() and o.brand_id"> |
|
|
|
<ul class="list-inline mb4"> |
|
|
@ -67,7 +75,6 @@ |
|
|
|
</ul> |
|
|
|
</t> |
|
|
|
</xpath> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</odoo> |