diff options
| author | Géry Debongnie <ged@odoo.com> | 2014-12-01 16:28:09 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2014-12-02 10:19:09 +0100 |
| commit | bfcfc62fbfa5c75a64fbd96ac55041ce030f0db7 (patch) | |
| tree | 53d207f45363693a64f0d9764530e912908fdff9 /addons/web/static/lib | |
| parent | 286d7f80bf6fe930c4eac33d6498642cc4a7a2cd (diff) | |
[FIX] fix reloading problem (crash) in web client
The previous viewmanager (before its refactoring in sept/oct 2014) was
ignoring some promises in its do_load_state method. The refactoring
actually fixed that, but of course, some other code was dependent on
the broken implementation. This commit removes the use of promises in
do_load_state, which is functionally equivalent to the previous code.
As a result, it relies on some subtle timing of the creation and
initialization of various views. It is somewhat fragile, but it is
actually what the former code did, only in a more explicit way.
Diffstat (limited to 'addons/web/static/lib')
0 files changed, 0 insertions, 0 deletions
