* = calendar, hr, im_livechat, rating, snailmail, website_livechat This simplifies definition and overrides and opens up new identification opportunities. Part of task-2741982 closes odoo/odoo#98166 Related: odoo/enterprise#30470 Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
31 lines
769 B
JavaScript
31 lines
769 B
JavaScript
/** @odoo-module **/
|
|
|
|
import { registerModel } from '@mail/model/model_core';
|
|
import { one } from '@mail/model/model_field';
|
|
|
|
registerModel({
|
|
name: 'QUnitTest',
|
|
fields: {
|
|
clockWatcher: one('ClockWatcher', {
|
|
inverse: 'qunitTestOwner',
|
|
isCausal: true,
|
|
}),
|
|
throttle1: one('Throttle', {
|
|
inverse: 'qunitTestOwner1',
|
|
isCausal: true,
|
|
}),
|
|
throttle2: one('Throttle', {
|
|
inverse: 'qunitTestOwner2',
|
|
isCausal: true,
|
|
}),
|
|
timer1: one('Timer', {
|
|
inverse: 'qunitTestOwner1',
|
|
isCausal: true,
|
|
}),
|
|
timer2: one('Timer', {
|
|
inverse: 'qunitTestOwner2',
|
|
isCausal: true,
|
|
}),
|
|
},
|
|
});
|