[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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user