diff options
| author | Vincent Schippefilt <vsc@odoo.com> | 2019-03-06 14:02:01 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-03-06 20:07:17 +0100 |
| commit | ff7a82c81babbcf29ae071b7e9247c52f5f71fc4 (patch) | |
| tree | b029470483a15927225db1f40ae2369b11a61c38 | |
| parent | 240b05edcc3523b341cca9d3a0dad4947c8ab8c6 (diff) | |
[REF] hr: adapt code after jQuery update
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com>
Co-authored-by: Christophe Matthieu <chm@odoo.com>
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
Co-authored-by: David Monjoie <dmo@odoo.com>
Co-authored-by: Martin Geubelle <mge@odoo.com>
Co-authored-by: svs-odoo <svs@odoo.com>
Co-authored-by: Vincent Schippefilt <vsc@odoo.com>
| -rw-r--r-- | addons/hr/static/src/js/chat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr/static/src/js/chat.js b/addons/hr/static/src/js/chat.js index 2f39851de67..233b9898e08 100644 --- a/addons/hr/static/src/js/chat.js +++ b/addons/hr/static/src/js/chat.js @@ -54,7 +54,7 @@ odoo.define('hr.employee_chat', function (require) { dmChat = self.call('mail_service', 'getChannel', dmChatId); dmChat.detach(); }); - $.when(def); + Promise.resolve(def); } }, }); |
