update 20240611

This commit is contained in:
Songb
2024-06-11 15:30:47 +08:00
parent 31ee62c3de
commit b24bf1dd04
1941 changed files with 362328 additions and 71446 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class KnowledgeArticleThread(models.Model):
which is a simple template comprised of the comment sent and the person that tagged the notified user.
"""
kwargs['msg_vals'] = {**kwargs['msg_vals'], 'email_layout_xmlid': 'knowledge.knowledge_mail_notification_layout'}
kwargs['msg_vals'] = {**kwargs.get('msg_vals', {}), 'email_layout_xmlid': 'knowledge.knowledge_mail_notification_layout'}
return super()._notify_thread_by_email(message, recipients_data, **kwargs)