[FIX] sale: Signature not displayed on report

The signature never appeared in the report_saleorder_document when printing
or downloading the document.

opw:1892612

closes odoo/odoo#27948
This commit is contained in:
Goffin Simon
2018-10-18 14:43:45 +00:00
parent b81c2bce84
commit ff610cec4f
+4 -4
View File
@@ -197,14 +197,14 @@
<span t-field="doc.fiscal_position_id.note"/>
</p>
<div t-if="doc.signature" class="row mt32" name="signature">
<div class="offset-8 col-4">
<div t-if="doc.signature" class="mt32 ml16 mr16" name="signature">
<div class="offset-8">
<strong>Signature</strong>
</div>
<div class="offset-8 col-4">
<div class="offset-8">
<img t-att-src="image_data_uri(doc.signature)" style="max-height: 4cm; max-width: 8cm;"/>
</div>
<div class="offset-8 col-4 text-center">
<div class="offset-8 text-center">
<p t-field="doc.signed_by"/>
</div>
</div>