Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

I am running odoo 11 community version and i am using the hotel management module. I am making a reservation and thereafter when I send a reservation email odoo displays below error. I got no clue, I could appreciate anyone's help coz am really new to odoo

Failed to render template <Template memory:7f08b0de65f8> using values {'format_date': <function MailTemplate.render_template.<locals>.<lambda> at 0x7f08c4bb90d0>, 'format_tz': <function MailTemplate.render_template.<locals>.<lambda> at 0x7f08c4bb9d08>, 'format_amount': <function MailTemplate.render_template.<locals>.<lambda> at 0x7f08c493ea60>, 'user': res.users(7,), 'ctx': {'lang': 'en_US', 'tz': False, 'uid': 7, 'params': {'action': 359}, 'active_model': 'hotel.reservation', 'active_id': 540, 'active_ids': [540], 'default_model': 'hotel.reservation', 'default_res_id': 540, 'default_use_template': True, 'default_template_id': 12, 'default_composition_mode': 'comment', 'force_send': True, 'mark_so_as_sent': True, 'search_disable_custom_filters': True, 'tpl_partners_only': True, 'safe': False}, 'object': hotel.reservation(540,)}

Avatar
Buang
Jawaban Terbai

Hi,

The issue is with the corresponding email template used to send the email. You have to check the corresponding email template and see what is the issue. Make sure that you haven't altered or changed anything in the code or from the user interface.

You can see the template from the user interface by activating the developer mode and navigate to Settings -> Technical -> Email -> Templates, from here get trace the corresponding template and check.


Regarding issue you can double check in a new database and if issue exist in new db, report it to the author of the module, so that they will fix it.


Thanks

Avatar
Buang
Jawaban Terbai

It happens to me too : https://www.odoo.com/fr_FR/forum/aide-1/question/12-0-mail-digest-mail-template-body-is-not-displayed-158639


I am more then sure that I didn't change anything in the template + whenever I use a new DB it appears in the preview but when I JUST click on the html body and want to see it again in the preview => I'm not able to do it  

Avatar
Buang
Penulis Jawaban Terbai

Thanks @Niyas Raphy, the problem was all about the email template. I couldn't solve it on that database but I changed to another database and the problem was solved 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Des 24
5616
6
Apr 23
6288
1
Mei 19
3286
0
Okt 15
3973
0
Jul 24
1315