summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/env
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-08-05 14:03:05 +0000
committerSébastien Theys <seb@odoo.com>2020-08-05 15:09:34 +0000
commit9216bdcb6f0bbb20900a33bbf7283e6e4fda1b2c (patch)
treece2c02403afc038f552436997fb3ba9f3ab1c1ac /addons/mail/static/src/env
parent9432d547053605a0807e82499123c0deede23d6b (diff)
[FIX] mail: clean up JS relations by storing records
Remove the support and the conversion from record to localId and back from localId to record. Part of task-2308312 closes odoo/odoo#55481 X-original-commit: fc5e8be4e65518770a281f0dffae07854d20073a Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/env')
-rw-r--r--addons/mail/static/src/env/test_env.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/mail/static/src/env/test_env.js b/addons/mail/static/src/env/test_env.js
index b7bf22010cb..5290634510d 100644
--- a/addons/mail/static/src/env/test_env.js
+++ b/addons/mail/static/src/env/test_env.js
@@ -1,7 +1,6 @@
odoo.define('mail/static/src/env/test_env.js', function (require) {
'use strict';
-const ModelManager = require('mail/static/src/model/model_manager.js');
const { makeDeferred } = require('mail/static/src/utils/deferred/deferred.js');
const { nextTick } = require('mail/static/src/utils/utils.js');
@@ -74,7 +73,7 @@ function addMessagingToEnv(providedEnv = {}) {
messaging: undefined,
messagingInitializedDeferred: makeDeferred(),
messagingBus: new EventBus(),
- modelManager: new ModelManager(),
+ modelManager: undefined,
store,
});