[IMP] mail: make tracking without subtype a notification log (note)
This message is not linked to any real subtype and will never be notified to someone. It creates a notification with subtype note. It is however different from user-created notes and should not be propagated. Tracking triggering subtypes are managed differently as they have a business related meaning. It makes sense to notify them to followers.
This commit is contained in:
@@ -566,7 +566,7 @@ class MailThread(models.AbstractModel):
|
||||
continue
|
||||
record.message_post(subtype=subtype_xmlid, tracking_value_ids=tracking_value_ids)
|
||||
elif tracking_value_ids:
|
||||
record.message_post(tracking_value_ids=tracking_value_ids)
|
||||
record._message_log(tracking_value_ids=tracking_value_ids)
|
||||
|
||||
self._message_track_post_template(tracking)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user