diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-08-24 00:33:10 +0200 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-08-27 18:32:58 +0200 |
| commit | eee49f13f00d7e934d399a023ad8d1b4b8ffa6b4 (patch) | |
| tree | 985588b07317f47c0faa129e3eaa81ef0001f0e1 /addons/mail/static/src/xml/abstract_thread_window.xml | |
| parent | d5786447567b05e85edd43dbefe8e82f22dc2129 (diff) | |
[FIX][REF] mail: several thread windows fixes
This commit fixes some bugs on thread windows, and make some
improvements on tests related to thread windows.
Fixes:
1. Correctly position last visible thread window when there are more
open thread windows than available slots.
2. Closing a thread window now marks it as read.
3. Can now fold/unfold the blank thread window (aka 'New' thread window).
Tests cleaning:
1. Removed unnecessary 'before assertions' in thread window tests.
> Solved with this: https://github.com/odoo/odoo/commit/9b1daa1218f7adf9d741afba607ef5b55b16e3e6
1. Added basic rendering test for a (non-blank) thread window.
2. Cleaned thread window tests
> Split in different files.
> Grouped in 'Thread Window' QUnit module.
Diffstat (limited to 'addons/mail/static/src/xml/abstract_thread_window.xml')
| -rw-r--r-- | addons/mail/static/src/xml/abstract_thread_window.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/abstract_thread_window.xml b/addons/mail/static/src/xml/abstract_thread_window.xml index af72d5dd36c..de0418af3df 100644 --- a/addons/mail/static/src/xml/abstract_thread_window.xml +++ b/addons/mail/static/src/xml/abstract_thread_window.xml @@ -5,7 +5,7 @@ @param {mail.AbstractThreadWindow} widget --> <t t-name="mail.AbstractThreadWindow"> - <div class="o_thread_window o_in_home_menu"> + <div class="o_thread_window o_in_home_menu" t-att-data-thread-id="widget.getID()"> <div class="o_thread_window_header"> <t t-call="mail.AbstractThreadWindow.HeaderContent"> <t t-set="status" t-value="widget.getThreadStatus()"/> |
