diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-03-23 08:24:24 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 21dffd53dffe1e48876060c6b32d8ca344f606a3 (patch) | |
| tree | e905b980ac4991075ec4631dbedfe3ac5de0f76a /addons/web/static/src | |
| parent | 04bc03ced200248ca6d607dc95a91bd5fdadb004 (diff) | |
[FIX] web: kanban_tests: throw error to simulate RPC fail
Returning a rejected deferred isn't the correct way to notify the
MockServer that something went wrong, throwing an error is. This
error is then catched, and the RPC deferred is rejected with two
arguments: an object describing the error and a JQuery event.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
