diff options
| author | Michael Mattiello (mcm) <mcm@odoo.com> | 2020-04-15 12:09:56 +0000 |
|---|---|---|
| committer | Michael Mattiello (mcm) <mcm@odoo.com> | 2020-04-16 07:19:55 +0000 |
| commit | f0aa343fe2d5680b27895e13b9962b3c4a9b9881 (patch) | |
| tree | 1430c2eeb45df9c3c3680b971ff0fdccfd8e63a7 /addons/web/static/src/js/core/utils.js | |
| parent | dcf9a4c38da5d50a6e597d3d68c3d46fdef61df5 (diff) | |
[REF] web,mail: use patchMixin and patch instead of utils.patch
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) <ged@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/core/utils.js')
| -rw-r--r-- | addons/web/static/src/js/core/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
