mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG][15.0] web_search_with_and: Migration to 15.0
This commit is contained in:
@@ -8,8 +8,9 @@ odoo.define(
|
||||
ControlPanelModelExtension: require("web/static/src/js/control_panel/control_panel_model_extension.js"),
|
||||
};
|
||||
|
||||
const patchObject = components.ControlPanelModelExtension.prototype;
|
||||
patch(
|
||||
components.ControlPanelModelExtension,
|
||||
patchObject,
|
||||
"web_search_with_and/static/src/js/control_panel_model_extension.js",
|
||||
{
|
||||
addAutoCompletionValues({
|
||||
|
||||
@@ -6,7 +6,8 @@ odoo.define("web_search_with_and/static/src/js/search_bar.js", function (require
|
||||
SearchBar: require("web.SearchBar"),
|
||||
};
|
||||
|
||||
patch(components.SearchBar, "web_search_with_and/static/src/js/search_bar.js", {
|
||||
const patchObject = components.SearchBar.prototype;
|
||||
patch(patchObject, "web_search_with_and/static/src/js/search_bar.js", {
|
||||
/**
|
||||
* @private
|
||||
* @param {Object} source
|
||||
|
||||
Reference in New Issue
Block a user