[FIX] correct default value in add to dashboard
the searchview has been split in two: searchview and searchviewdrawer. The widget addtodashboard need to get the name from the searchview and not from the drawer.
This commit is contained in:
@@ -412,7 +412,7 @@ instance.board.AddToDashboard = instance.web.search.Input.extend({
|
||||
this.$el.toggleClass('oe_opened');
|
||||
if (! this.$el.hasClass('oe_opened'))
|
||||
return;
|
||||
this.$("input").val(this.getParent().fields_view.name || "" );
|
||||
this.$("input").val(this.view.fields_view.name || "" );
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user