[FIX] correctly include some inputs in drawer
The search view has been split into two widgets: SearchView and SearchViewDrawer. The addons board and google_spreadsheet need to be updated to append their input widget to SearchViewDrawer and not to SearchView.
This commit is contained in:
parent
70052e1fd6
commit
1602ba44c9
|
@ -417,7 +417,7 @@ instance.board.AddToDashboard = instance.web.search.Input.extend({
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
instance.web.SearchView.include({
|
instance.web.SearchViewDrawer.include({
|
||||||
add_common_inputs: function() {
|
add_common_inputs: function() {
|
||||||
this._super();
|
this._super();
|
||||||
var vm = this.getParent().getParent();
|
var vm = this.getParent().getParent();
|
||||||
|
|
|
@ -42,7 +42,7 @@ openerp.google_spreadsheet = function(instance) {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
instance.web.SearchView.include({
|
instance.web.SearchViewDrawer.include({
|
||||||
add_common_inputs: function() {
|
add_common_inputs: function() {
|
||||||
this._super();
|
this._super();
|
||||||
var vm = this.getParent().getParent();
|
var vm = this.getParent().getParent();
|
||||||
|
|
Loading…
Reference in New Issue