[IMP] mail, *: move up model files
Move model definition files from `models/thing/thing.js` to
`models/thing.js` and remove the now empty intermediate directory.
Task-2759582
* = calendar, crm_livechat, hr, im_livechat, mail_bot, sms, snailmail,
website_livechat, website_slides
closes odoo/odoo#86464
Related: odoo/enterprise#25291
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -42,13 +42,13 @@ The service is provided by the In App Purchase Odoo platform.
|
||||
'assets': {
|
||||
'mail.assets_discuss_public': [
|
||||
'sms/static/src/components/*/*',
|
||||
'sms/static/src/models/*/*.js',
|
||||
'sms/static/src/models/*.js',
|
||||
],
|
||||
'web.assets_backend': [
|
||||
'sms/static/src/js/fields_phone_widget.js',
|
||||
'sms/static/src/js/fields_sms_widget.js',
|
||||
'sms/static/src/components/*/*.js',
|
||||
'sms/static/src/models/*/*.js',
|
||||
'sms/static/src/models/*.js',
|
||||
],
|
||||
'web.qunit_suite_tests': [
|
||||
'sms/static/tests/sms_widget_test.js',
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
import { patchRecordMethods } from '@mail/model/model_core';
|
||||
// ensure that the model definition is loaded before the patch
|
||||
import '@mail/models/message/message';
|
||||
import '@mail/models/message';
|
||||
|
||||
patchRecordMethods('Message', {
|
||||
/**
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
import { patchRecordMethods } from '@mail/model/model_core';
|
||||
// ensure that the model definition is loaded before the patch
|
||||
import '@mail/models/notification_group/notification_group';
|
||||
import '@mail/models/notification_group';
|
||||
|
||||
patchRecordMethods('NotificationGroup', {
|
||||
/**
|
||||
Reference in New Issue
Block a user