[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>
This commit is contained in:
Michael Mattiello (mcm)
2020-02-28 07:53:21 +00:00
parent 74d3fc4d87
commit 202f7119ae
@@ -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();