[FIX] web: do not call method on undefined controller
[FIX] web: do not call method on undefined controller

As `create_view` is asynchronous, it is possible that there is an
active view without any associated controller.

We thus test here if there is a controller before calling its method.

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo