diff options
| author | ThanhDodeurOdoo <tso@odoo.com> | 2018-09-06 10:45:32 +0200 |
|---|---|---|
| committer | ThanhDodeurOdoo <tso@odoo.com> | 2018-09-13 11:50:26 +0200 |
| commit | d12b88315536150931b01e219c79b248b1fa9c40 (patch) | |
| tree | 677461f120e5e63e71d58c41368f46d0e8164840 /addons/mail/static/src/xml/thread.xml | |
| parent | 7f97c9fc056a0949c61c8444ee20f4c95bb3e9a9 (diff) | |
[IMP] mail, web: attachments & messages in debug actions.
- added two new actions to the form view debug action list,
both opens list (+ form) views of messages and attachments respectively
for which the domain is restricted to the current record.
task: 1860031
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index a79085c1756..26faf42ba13 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -2,6 +2,14 @@ <templates xml:space="preserve"> <!-- + extends the debug mode menu to allow access to the attachment list view of the current record. + --> + <t t-extend="WebClient.DebugManager.View"> + <t t-jquery="a[data-action='get_metadata']" t-operation="after"> + <a role="menuitem" href="#" data-action="getMailMessages" class="dropdown-item">Manage Messages</a> + </t> + </t> + <!-- @param {mail.model.AbstractThread} thread @param {Object} options @param {boolean} [options.displayEmptyThread] |
