CO-1528 Fixer les icônes de messages lus dans un mail_thread-mOdoo was looking for tracking number for every messages in the mail widget. Some of theses messages were internal notes that didn't have a tracking number. Because of the way of the message are created, some had to look for the tracking_id in the parent. For internal notes, this made them inherit the tracking_status of a message having nothing to do with them.
CO-1528 Fixer les icônes de messages lus dans un mail_thread-mOdoo was looking for tracking number for every messages in the mail widget. Some of theses messages were internal notes that didn't have a tracking number. Because of the way of the message are created, some had to look for the tracking_id in the parent. For internal notes, this made them inherit the tracking_status of a message having nothing to do with them.

The fix consist of looking for a tracking id just for the message of type email.

eicher31/compassion-switzerland,CompassionCH/compassion-switzerland,ecino/compassion-switzerland,eicher31/compassion-switzerland,ecino/compassion-switzerland,eicher31/compassion-switzerland,ecino/compassion-switzerland,CompassionCH/compassion-switzerland,CompassionCH/compassion-switzerland