19 lines
985 B
XML
19 lines
985 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="report_invoice_document" inherit_id="account.report_invoice_document">
|
|
<div id="right-elements" position="inside">
|
|
<div t-if="o.show_signature_area" t-attf-class="#{'col-12' if report_type != 'html' else 'col-5 offset-7 offset-md-0 col-md-12'}">
|
|
<t t-if="o.signature">
|
|
<img t-if="o.signature" t-att-src="image_data_uri(o.signature)" class="w-100 mx-auto" style="max-height: 6rem;"/>
|
|
</t>
|
|
<t t-else="">
|
|
<!-- leave an empty space allowing to sign the invoice manually -->
|
|
<div class="col-12" style="min-height: 10rem"/>
|
|
</t>
|
|
<!-- wkhtmltopdf doesn't render a simple `border-top border-dark` -->
|
|
<p class="col-7 mx-auto text-center" style="border-top: thin solid;">Authorized signatory</p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</odoo>
|