forked from avanzosc/odoo-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] account_invoice_print_image: Improve view
- Loading branch information
1 parent
bc8ef4b
commit 1043d1c
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |