[FIX] web_settings_dashboard: stop depending on old numbering scheme

This commit is contained in:
Olivier Dony
2016-10-05 17:28:15 +02:00
parent 60a59b607a
commit f18def7175
@@ -245,7 +245,7 @@ var DashboardApps = Widget.extend({
start: function() {
this._super.apply(this, arguments);
if (odoo.db_info && odoo.db_info.server_version_info[5] === 'c') {
if (odoo.db_info && _.last(odoo.db_info.server_version_info) !== 'e') {
$(QWeb.render("DashboardEnterprise")).appendTo(this.$el);
}
},