[FIX] view_form: use the reference of menu from the instance, not from the widget...
authorSimon Lejeune <sle@openerp.com>
Fri, 11 Jul 2014 09:51:54 +0000 (11:51 +0200)
committerSimon Lejeune <sle@openerp.com>
Fri, 11 Jul 2014 09:51:54 +0000 (11:51 +0200)
commit239144d519683a6d84768c113fe7c6714ba74187
tree8bab01be024687b3edf2d6aee6d659abad9c2f9e
parentf654a7719bd9dc420a9c9ffb9f34e37ba52e796c
[FIX] view_form: use the reference of menu from the instance, not from the 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
addons/web/static/src/js/view_form.js