diff options
| author | Martin Geubelle <mge@odoo.com> | 2017-03-29 14:24:46 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | caf0ec37a667646bd54782ee4fab416482c1ea6a (patch) | |
| tree | 715fac947ffe8eab1ee9852d1af95e1e89d20991 /addons/web/static/src/xml | |
| parent | 8f8e8b6e0ea0500b9e63ab604967268672a3a352 (diff) | |
[FIX] web: do not call method on undefined controller
As `create_view` is asynchronous, it is possible that there is an
active view without any associated controller.
We thus test here if there is a controller before calling its method.
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
