summaryrefslogtreecommitdiff
path: root/addons/google_spreadsheet/static/src
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-07-10 17:42:05 +0200
committerAaron Bohy <aab@odoo.com>2015-07-15 13:32:56 +0200
commit27df65c8782f998319374cddeead77ce8e994352 (patch)
treea4e5d975210801387838fd4442644b3c781ddfd7 /addons/google_spreadsheet/static/src
parent45373eb1fcb8dc092ce75fffaf1baa7d476de2ab (diff)
[IMP] board,google_spreadsheet,web,web_calendar: Favorites menu
Adapt the Favorites menu so that addons appending stuff in it are compliant with the enterprise edition. Mainly, creation of dashboard.less from of dashboard.sass so that we can use mixins defined in the web addon. Some changes as well in the dashboard view to make it compliant with the enterprise edition. Use correct naming convention: classnames with underscores, less mixins with hyphens.
Diffstat (limited to 'addons/google_spreadsheet/static/src')
-rw-r--r--addons/google_spreadsheet/static/src/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_spreadsheet/static/src/js/search.js b/addons/google_spreadsheet/static/src/js/search.js
index 030c84b1a84..abed0a383a3 100644
--- a/addons/google_spreadsheet/static/src/js/search.js
+++ b/addons/google_spreadsheet/static/src/js/search.js
@@ -34,7 +34,7 @@ FavoriteMenu.include({
});
if (am && am.get_inner_widget() instanceof ViewManager) {
this.view_manager = am.get_inner_widget();
- this.$('.favorites-menu').append(QWeb.render('SearchView.addtogooglespreadsheet'));
+ this.$('.o_favorites_menu').append(QWeb.render('SearchView.addtogooglespreadsheet'));
this.$('.add-to-spreadsheet').click(this.add_to_spreadsheet.bind(this));
}
},