From 2baa74f44866b60da1659d87ae33cdcb778a8990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 7 Oct 2015 17:32:19 +0200 Subject: [PATCH] Force set_current_record in display To force to update the tab as done in changeset 4dd468848941 of tryton --- src/screen.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/screen.js b/src/screen.js index 85028f9fc3..8ff384986e 100644 --- a/src/screen.js +++ b/src/screen.js @@ -788,7 +788,10 @@ } } return jQuery.when.apply(jQuery, deferreds).then( - this.set_tree_state.bind(this)); + this.set_tree_state.bind(this)).then(function() { + // Force tab update + this.set_current_record(this.current_record); + }.bind(this)); }, display_next: function() { var view = this.current_view;