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