mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-25 01:48:41 -06:00
[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:
parent
eca046d96b
commit
b2ff4a1fc3
@ -29,11 +29,6 @@
|
|||||||
<p>${object.summary}</p>
|
<p>${object.summary}</p>
|
||||||
% endif
|
% 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>
|
<p>Have a great day.</p>
|
||||||
|
|
||||||
--<br/>
|
--<br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user