[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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user