diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-12-10 16:36:46 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-12-10 16:36:46 +0100 |
| commit | 526c856f7ed8451f962cd0c0da38b866eeb7dc7f (patch) | |
| tree | c0bf665ca7b1b30869af60e28fc2a713d8c35375 /addons/web/static/src/js/views.js | |
| parent | a03988e353bb96a703b68fe0a8f8068be7eb8ba3 (diff) | |
[FIX] problem in View class, the is_action_enabled() method assumed the existence of the fields_view attribute despite the fact that class never setted that attribute
bzr revid: nicolas.vanhoren@openerp.com-20121210153646-ulbsja1mt9re25wz
Diffstat (limited to 'addons/web/static/src/js/views.js')
| -rw-r--r-- | addons/web/static/src/js/views.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index c0c6ae1f31d..eef9c5743f7 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -1206,6 +1206,7 @@ instance.web.View = instance.web.Widget.extend({ }); } return view_loaded.then(function(r) { + self.fields_view = r; self.trigger('view_loaded', r); // add css classes that reflect the (absence of) access rights self.$el.addClass('oe_view') |
