summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/owl_compatibility.js
diff options
context:
space:
mode:
authorMichael Mattiello (mcm) <mcm@odoo.com>2020-02-21 10:09:07 +0000
committerMichael Mattiello (mcm) <mcm@odoo.com>2020-02-28 07:53:21 +0000
commit202f7119aea638f871c82d71c47e62d1a1cedc80 (patch)
tree282e0a5ab2112f79290f0ee6245f53ee829cc298 /addons/web/static/src/js/owl_compatibility.js
parent74d3fc4d87ab42609b383262284373644187ec60 (diff)
[FIX] web: fix ComponentAdapter after owl update
The signature of method Component.__patch has changed in the last version of owl. closes odoo/odoo#46499 X-original-commit: 2954aa3ecd235d5ed6f537be21882390e8fcb808 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/owl_compatibility.js')
-rw-r--r--addons/web/static/src/js/owl_compatibility.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/owl_compatibility.js b/addons/web/static/src/js/owl_compatibility.js
index 9683cd4211d..01deee7a4a3 100644
--- a/addons/web/static/src/js/owl_compatibility.js
+++ b/addons/web/static/src/js/owl_compatibility.js
@@ -135,7 +135,7 @@ odoo.define('web.OwlCompatibility', function () {
*
* @override
*/
- __patch(vnode) {
+ __patch(target, vnode) {
if (this.widget) {
if (this.__owl__.vnode) { // not at first rendering
this.renderWidget();