diff options
Diffstat (limited to 'addons/mail/static/src/models/thread/thread.js')
| -rw-r--r-- | addons/mail/static/src/models/thread/thread.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/mail/static/src/models/thread/thread.js b/addons/mail/static/src/models/thread/thread.js index d50fca3e3f4..ed48d14f270 100644 --- a/addons/mail/static/src/models/thread/thread.js +++ b/addons/mail/static/src/models/thread/thread.js @@ -1803,6 +1803,9 @@ function factory(dependencies) { suggestedRecipientInfoList: one2many('mail.suggested_recipient_info', { inverse: 'thread', }), + threadViews: one2many('mail.thread_view', { + inverse: 'thread', + }), /** * States the `mail.activity` that belongs to `this` and that are due * specifically today. @@ -1825,9 +1828,6 @@ function factory(dependencies) { dependencies: ['orderedOtherTypingMembers'], }), uuid: attr(), - threadViews: one2many('mail.thread_view', { - inverse: 'thread', - }), }; Thread.modelName = 'mail.thread'; |
