تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5753 أدوات العرض

I have a model inheriting mail.thread (for example helpdesk.ticket).

I'd like to modify the notification emails sent to partners if a message is created in this thread. Best would be if I could override the email template, but only for this model, meaning that just overriding "mail_template_data_notification_email_default" doesn't work. I would like to set a new template instead.

I tried setting the context['custom_layout'] of the partners notified by the mail, but I can't find the correct method to override to set this.

Any help is very much appreciated!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
8
يوليو 24
23265
2
مايو 24
2473
2
يونيو 24
9217
1
نوفمبر 22
3108
1
سبتمبر 21
3888