[FIX] web: wait for deferreds when actualizing mode
authorDenis Ledoux <dle@odoo.com>
Mon, 13 Oct 2014 16:24:57 +0000 (18:24 +0200)
committerDenis Ledoux <dle@odoo.com>
Mon, 13 Oct 2014 16:24:57 +0000 (18:24 +0200)
commit5e1a5b7dbc6e5dbf8446a5f6144f0a8a72426e26
tree911164c86e2bf409ff049424aced685ca8ff5999
parent1b49a876196de1f4b6568ff1751f7c7c6b2d5002
[FIX] web: wait for deferreds when actualizing mode

In edit mode, in a *2many with many2many_tags, when adding a new tag when none was set, discarding the form let the new tags displayed while it shouldn't (only a display issue, the tag wasn't added in database)

Fixes #2926
addons/web/static/src/js/view_form.js