Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1730 Представления

hi,

i have a problem sending emails with an email template.

loading the template and fill in the variable values and sending the email works fine

but the email which arrives is always an old one, i suppose from cache.

So my question is how i can clear email or email template cache?

thanks for you answers

Klaus

Аватар
Отменить
Автор

hi,
i just made some changes to the mail template,
but when i load the template with
template = self.env['mail.template'].search([('name', '=', 'Behandlung Terminbestätigung')])
the changes are not there and the mail which is send shows the old template.
in template for i can see the changes.