diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-12-18 10:12:16 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-12-18 10:27:34 +0000 |
| commit | fa756bc63d452824470fab920b57c3e00a7b2f9f (patch) | |
| tree | ef45ebb0274370838dae04d5986120cfa4fd7384 /addons | |
| parent | 73d9b9588f24788766c66aacd69ed436bb0223f4 (diff) | |
[FIX] mail: adapt discuss mobile from cp refactoring
Since a recent ControlPanel/Search view refactoring [1],
all client actions must be adapted [2]. Discuss was updated,
but not discuss mobile, which this commit fixes.
[1] https://github.com/odoo/odoo/commit/4cd379cf6ecffa00e0085a9833228128b484d48a
[2] https://github.com/odoo/odoo/commit/b1ef0001f61d29fc3d3be384422c0fb35a09806f
Task-ID 1918722
closes odoo/odoo#29601
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/mail/static/src/js/discuss_mobile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/discuss_mobile.js b/addons/mail/static/src/js/discuss_mobile.js index 30136fee798..549e05b78fd 100644 --- a/addons/mail/static/src/js/discuss_mobile.js +++ b/addons/mail/static/src/js/discuss_mobile.js @@ -16,7 +16,7 @@ if (!config.device.isMobile) { * Overrides Discuss module in mobile */ Discuss.include({ - template: 'mail.discuss_mobile', + contentTemplate: 'mail.discuss_mobile', events: _.extend(Discuss.prototype.events, { 'click .o_mail_mobile_tab': '_onMobileTabClicked', 'click .o_mailbox_inbox_item': '_onMobileInboxButtonClicked', |
