[IMP] mail: rename rtc peer notification model

Rename javascript model `mail.rtc_peer_notification` to
`RtcPeerNotification` in order to distinguish javascript models from
python models.

Part of task-2701674.

closes odoo/odoo#81415

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Louis Wicket (wil)
2021-12-15 01:58:55 +00:00
parent 5f87c6ff47
commit 74fddfd312
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1212,7 +1212,7 @@ registerModel({
logs: attr({
default: {},
}),
peerNotificationsToSend: one2many('mail.rtc_peer_notification', {
peerNotificationsToSend: one2many('RtcPeerNotification', {
isCausal: true,
}),
/**
@@ -4,7 +4,7 @@ import { registerModel } from '@mail/model/model_core';
import { attr } from '@mail/model/model_field';
registerModel({
name: 'mail.rtc_peer_notification',
name: 'RtcPeerNotification',
identifyingFields: ['id'],
fields: {
channelId: attr({