[FIX] document_page_approval: Delete diff in email_template to prevent errors in some cases.

If we added image in base64 inside content:
<img src="data:image/png;base64,xxxxxx" />
when Odoo try to render message and send try to create ir.attachment with type=content (it's not possible).
This commit is contained in:
Víctor Martínez 2021-04-09 13:21:02 +02:00
parent ba602c3612
commit ba792b95c4

View File

@ -26,11 +26,6 @@
<p>${object.summary}</p>
% endif
<h3>Diff</h3>
<div style="overflow-x:scroll; font-size:0.85em; margin-bottom:2em;">
${object.diff|safe}
</div>
<p>Have a great day.</p>
--<br/>