Skip to content

Commit

Permalink
[IMP] account_invoice_print_image: Improve view
Browse files Browse the repository at this point in the history
  • Loading branch information
unaiberis authored and anajuaristi committed Nov 25, 2024
1 parent bc8ef4b commit 1043d1c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions account_invoice_print_image/data/layouts.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="external_layout_standard" inherit_id="web.external_layout_standard">
<div name="company_address" position="after">
<div
<xpath expr="/t/div" position="inside">
<span
name="out_invoice_image"
t-if="company and company._name == 'res.company' and company.out_invoice_image and o and o._name == 'account.move' and o.move_type in ('out_invoice', 'out_refund')"
style="position: absolute; top: 52px; left: 1190px;"
style="position: absolute; top:55px; left: 740px"
>
<img
t-att-src="image_data_uri(company.out_invoice_image)"
style="max-height: 200px;"
style="max-height: 120px;"
/>
</div>
</div>
</span>
</xpath>
</template>
</odoo>

0 comments on commit 1043d1c

Please sign in to comment.