diff options
| author | Géry Debongnie <ged@odoo.com> | 2016-03-25 12:06:09 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2016-04-06 09:55:06 +0200 |
| commit | dac37163d16f230f53a1c5578039f579326c0c8d (patch) | |
| tree | f59407748e9bf1644f25999f1c65f46f7f73ac64 /addons/web/static/src/js/framework/session_instance.js | |
| parent | d4eebd7f22be2ae9be08d8b8b5cf9a645edd5020 (diff) | |
[FIX] web: fieldmany2manytag issue
I recently removed some rpc from init fieldmany2manytag (it was in a
mutex) and moved it to the willStart method (without mutex). The
fieldmany2many tag widget needs this information before it can be
rendered. However, in editable list views, the rendering engine does
not wait for the fields to be ready before completing its initialization
process. As a result, the field many2many tag was rendered before it
was ready, which broke various things, including its position.
This commit attempts to bring sanity to this issue by making sure that
the rendering engine waits for its fields to be ready. Also, the
editable list view should detect correctly when the form is loaded.
If this commit introduces new issues with the editable list view and
onchanges, I will not be pleased. You don't want to bring me this sad
news without at least something to buy my good will.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
