diff --git a/addons/web/static/src/js/widgets/model_field_selector.js b/addons/web/static/src/js/widgets/model_field_selector.js index 1310aa97ea7..8fa6c36b3be 100644 --- a/addons/web/static/src/js/widgets/model_field_selector.js +++ b/addons/web/static/src/js/widgets/model_field_selector.js @@ -240,6 +240,7 @@ var ModelFieldSelector = Widget.extend({ if (this.pages.length <= 1) return; this.pages.pop(); this.removeChainNode(); + this.selectedField = this._getLastPageField(_.last(this.chain.split("."))); this.displayPage("o_animate_slide_left"); }, /// The goToNextPage method adds a new page to the popover following the given field relation and adapts