diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-02-14 16:13:28 +0100 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-02-20 13:31:21 +0100 |
| commit | 2a09baf0ed3360ac9ac47c71590b19a71605779e (patch) | |
| tree | 490c2b23a58e55a223f27d9c313c166a89c5109f /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 9360a39dcad4ee502298a0412c76d21e51f57b20 (diff) | |
[FIX] mail: tests: make createDiscuss function async
In order to test discuss, the service 'chat_manager' has to be ready.
We do not want to explicitly write discuss.call on any test with discuss,
so now the function createDiscuss returns a promise that is resolved with
the discuss widget when the chat_manager is ready.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
