[FIX] web: controller update now waits for _update to resolve

Before this, the deffered returned by _update was not taken into
account.
This commit is contained in:
eco-odoo
2018-07-20 11:59:12 +02:00
committed by Yannick Tivisse
parent c1498ff36b
commit 872cf9160d
2 changed files with 5 additions and 2 deletions
@@ -3690,6 +3690,9 @@ QUnit.module('basic_fields', {
'</sheet>' +
'</form>',
res_id: 1,
viewOptions: {
disable_autofocus: true,
},
});
assert.strictEqual(form.$('.o_field_widget.o_selection > a span.o_status.o_status_red').length, 1,