diff options
| author | Géry Debongnie <ged@odoo.com> | 2014-12-19 13:44:35 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2014-12-19 14:34:24 +0100 |
| commit | 240d71f9faf3778cedaea017fe274cd5c63d21cc (patch) | |
| tree | 6b5403ca90446e85456961438448df7c6d306aaa /addons/google_drive/static | |
| parent | 1fb33a8aca2dc19780dfb5dfeb8a600854042b66 (diff) | |
[IMP] various addons: add pivot views next to graph views
The graph view has been splitted into pivot/graph view. This commit add
a pivot view whenever a graph view was defined.
Diffstat (limited to 'addons/google_drive/static')
| -rw-r--r-- | addons/google_drive/static/src/js/gdrive.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_drive/static/src/js/gdrive.js b/addons/google_drive/static/src/js/gdrive.js index dbbe50d0794..98324c1c288 100644 --- a/addons/google_drive/static/src/js/gdrive.js +++ b/addons/google_drive/static/src/js/gdrive.js @@ -9,7 +9,7 @@ openerp.google_drive = function (instance, m) { this._super.apply(this, arguments); var view = self.getParent(); var result; - if (view.fields_view.type == "form") { + if (view.fields_view && view.fields_view.type == "form") { ids = [] view.on("load_record", self, function (r) { ids = [r.id] |
