* = hr, im_livechat, website_livechat task-2741386 closes odoo/odoo#83059 Related: odoo/enterprise#23616 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
31 lines
834 B
JavaScript
31 lines
834 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: {
|
|
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,
|
|
}),
|
|
},
|
|
});
|