summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-11-24 13:21:11 +0100
committerGéry Debongnie <ged@odoo.com>2017-11-24 14:55:53 +0100
commitcc560531b90057a50d9168cff2841cc14000f87c (patch)
tree02368e9b58372be344c98a9826c547c2eb87afb2 /addons/web/static/src/js/views/basic/basic_view.js
parente703d07e6880f2a1d1c27e2339fd21850fc30dc4 (diff)
[FIX] web: better support for async field widgets
Most field widgets are synchronous, but some of them have to do extra work before being ready (for example, the pad widget, or widget which needs to lazy load JS/CSS files). Because of that, the new views have been well tested with synchronous widgets, but not completely with async widgets. Some code depended upon the fact that the widget was ready immediately after being created. This was incorrect, and is fixed in this commit, by adding a new hook that is called in (basic) views after a widget is ready (meaning, start and willstart are done)
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions