Skip to content

Commit

Permalink
[FIX] document_page_approval: Delete diff in email_template to preven…
Browse files Browse the repository at this point in the history
…t 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).
  • Loading branch information
victoralmau committed Apr 15, 2021
1 parent eca046d commit b2ff4a1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions document_page_approval/data/email_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,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/>
Expand Down

0 comments on commit b2ff4a1

Please sign in to comment.