[FIX] web: Props validation
Established the proper props validation on the search panel component. closes odoo/odoo#58484 X-original-commit: d1ccc2a57c0adddecad2725831be7ab18f20f522 Related: odoo/enterprise#13541 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
This commit is contained in:
@@ -205,14 +205,7 @@ odoo.define("web/static/src/js/views/search_panel.js", function (require) {
|
||||
|
||||
SearchPanel.props = {
|
||||
className: { type: String, optional: 1 },
|
||||
importedState: {
|
||||
type: Object,
|
||||
optional: true,
|
||||
shape: {
|
||||
scrollTop: { type: Number, optional: 1 },
|
||||
expanded: { type: Object, optional: 1 },
|
||||
},
|
||||
},
|
||||
importedState: { type: String, optional: 1 },
|
||||
searchModel: Model,
|
||||
};
|
||||
SearchPanel.template = "web.SearchPanel";
|
||||
|
||||
Reference in New Issue
Block a user