Skip to content

Commit 9fe690c

Browse files
committed
[16.0][FIX] custom_reports_vmter: replace hardcoded logo with dynamic company logo
1 parent fb8d78a commit 9fe690c

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

custom_reports_vmter/report/report_account_invoice_alq.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,13 @@
4141
-->
4242
</div>
4343
<div class="col-6 text-right">
44-
<img src="/custom_reports_vmter/static/src/img/logo_left.png"
45-
style="height: 100px;"/>
44+
<img t-if="o.company_id.logo"
45+
t-att-src="image_data_uri(o.company_id.logo)"
46+
style="max-height: 100px; width: auto;"
47+
alt="Logo"/>
48+
<div t-if="not o.company_id.logo" style="font-size: 20px; font-weight: bold;">
49+
<span t-field="o.company_id.name"/>
50+
</div>
4651
</div>
4752
</div>
4853

0 commit comments

Comments
 (0)