From f0aa343fe2d5680b27895e13b9962b3c4a9b9881 Mon Sep 17 00:00:00 2001 From: "Michael Mattiello (mcm)" Date: Wed, 15 Apr 2020 12:09:56 +0000 Subject: [REF] web,mail: use patchMixin and patch instead of utils.patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit replaces the use of utils.patch by the new class patcher and makes the renderers that are converted to owl patchable. closes odoo/odoo#47700 Related: odoo/enterprise#9551 Signed-off-by: Géry Debongnie (ged) --- addons/web/static/src/js/core/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/core/utils.js') diff --git a/addons/web/static/src/js/core/utils.js b/addons/web/static/src/js/core/utils.js index e8924747616..1e3c6074857 100644 --- a/addons/web/static/src/js/core/utils.js +++ b/addons/web/static/src/js/core/utils.js @@ -531,7 +531,7 @@ var utils = { * This function is the last resort solution for monkey-patching an * ES6 Class, for people that do not control the code defining the Class * to patch (e.g. partners), and when that Class isn't patchable already - * (i.e. when it doesn't have a 'patch' function, defined by the 'web.PatchMixin'). + * (i.e. when it doesn't have a 'patch' function, defined by the 'web.patchMixin'). * * @param {Class} C Class to patch * @param {string} patchName -- cgit v1.2.3