[FIX] mail: channelId undefined on the message_seen_indicator model

message_seen_indicator model doesn't have a field threadId, it use channelId.
channelId is required since it's use inside the _createRecordLocalId function

closes odoo/odoo#59493

X-original-commit: f82396cba884604603eea38e291422faebea2f58
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Didier (did)
2020-10-08 10:32:42 +00:00
parent 3c0c9ea2c2
commit c4723ddfa7
@@ -230,8 +230,8 @@ function factory(dependencies) {
continue;
}
this.env.models['mail.message_seen_indicator'].insert({
channelId: thread.id,
messageId: message.id,
threadId: thread.id,
});
}
}