* = hr_holidays, im_livechat, sms, snailmail, website_livechat,
website_slides
Move tests files into `static/tests`.
Task-2759560
closes odoo/odoo#86581
Related: odoo/enterprise#25375
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
35 lines
957 B
JavaScript
35 lines
957 B
JavaScript
/** @odoo-module **/
|
|
|
|
import { registerModel } from '@mail/model/model_core';
|
|
import { one } from '@mail/model/model_field';
|
|
|
|
registerModel({
|
|
name: 'QUnitTest',
|
|
identifyingFields: [], // singleton acceptable (only one test at a time)
|
|
fields: {
|
|
clockWatcher: one('ClockWatcher', {
|
|
inverse: 'qunitTestOwner',
|
|
isCausal: true,
|
|
}),
|
|
composer: one('Composer', {
|
|
isCausal: true,
|
|
}),
|
|
composerView: one('ComposerView', {
|
|
inverse: 'qunitTest',
|
|
isCausal: true,
|
|
}),
|
|
messageView: one('MessageView', {
|
|
inverse: 'qunitTest',
|
|
isCausal: true,
|
|
}),
|
|
notificationListView: one('NotificationListView', {
|
|
inverse: 'qunitTestOwner',
|
|
isCausal: true,
|
|
}),
|
|
threadViewer: one('ThreadViewer', {
|
|
inverse: 'qunitTest',
|
|
isCausal: true,
|
|
}),
|
|
},
|
|
});
|