Odoo 14 SearchPanel view have DEFAULT_LIMIT = 200, how can i change this limit? I needed to add this value to settings and change it if i need to.
Looks like i need to extends JS ActionModel view, but i dont understand how.
const ActionModel = require("web/static/src/js/views/action_model.js");
const DEFAULT_LIMIT = 500;
class SearchPanelModelExtensionChangeLimit extends ActionModel.Extension {
prepareState() {
Object.assign(this.state, { sections: new Map() });
this._createSectionsFromArch();
}
}