[FIX] view_form: use the reference of menu from the instance, not from t...

...he widget ancestors

Fixes #1024: when using a formview on a non trivial way, the reference of the menu using the widget ancestors may be wrong