summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/message_seen_indicator
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/components/message_seen_indicator
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/components/message_seen_indicator')
-rw-r--r--addons/mail/static/src/components/message_seen_indicator/message_seen_indicator_tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/components/message_seen_indicator/message_seen_indicator_tests.js b/addons/mail/static/src/components/message_seen_indicator/message_seen_indicator_tests.js
index 3f95a1d5407..b61d6721c0e 100644
--- a/addons/mail/static/src/components/message_seen_indicator/message_seen_indicator_tests.js
+++ b/addons/mail/static/src/components/message_seen_indicator/message_seen_indicator_tests.js
@@ -175,7 +175,7 @@ QUnit.test('rendering when just one has seen the message', async function (asser
author: [['insert', { id: this.env.session.partner_id, display_name: "Demo User" }]],
body: "<p>Test</p>",
id: 100,
- originThread: [['link', thread.main]],
+ originThread: [['link', thread]],
});
await this.createMessageSeenIndicatorComponent({ message, thread });
assert.containsOnce(