[IMP] mail: rename sound effects model

Rename javascript model `mail.sound_effects` to `SoundEffects` in order
to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81431

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Louis Wicket (wil)
2021-12-15 01:59:08 +00:00
parent 6fd5f70358
commit a408eb8f7d
2 changed files with 2 additions and 2 deletions
@@ -359,7 +359,7 @@ registerModel({
isCausal: true,
readonly: true,
}),
soundEffects: one2one('mail.sound_effects', {
soundEffects: one2one('SoundEffects', {
default: insertAndReplace(),
isCausal: true,
readonly: true,
@@ -5,7 +5,7 @@ import { one2one } from '@mail/model/model_field';
import { insertAndReplace } from '@mail/model/model_field_command';
registerModel({
name: 'mail.sound_effects',
name: 'SoundEffects',
identifyingFields: ['messaging'],
fields: {
channelJoin: one2one('SoundEffect', {