Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3888 Zobrazení

Hi all , if my fileld like this :

description = fields.Html(string="description")

Then in view it look like ck_editor , I can attach image and text . but the problem is that image is not send with text to email. Any help plz

Avatar
Zrušit
Nejlepší odpověď

Hi,

Try the following code for attach an image with the email

<p> <img src="data:image/png;base64,${object.company_id.logo}" style="width: 150px;height: 80px;" /> </p>
Regards
Avatar
Zrušit
Autor

Hello Cybrosys Techno Solution Pvt.Ltd , I am not have fix image but I use field html to attach image to send to email.