[FIX]Rename openerp to db.

bzr revid: vme@tinyerp.com-20110919070559-l703ghrpnv4bmehn
This commit is contained in:
Vidhin Mehta (OpenERP)
2011-09-19 12:35:59 +05:30
parent c45b2748ab
commit e34c9b01a5
+1 -1
View File
@@ -850,7 +850,7 @@ db.web.View = db.web.Widget.extend(/** @lends db.web.View# */{
},
on_sidebar_manage_view: function() {
if (this.fields_view && this.fields_view.arch) {
var view_editor = new openerp.web.ViewEditor(this, this.$element, this.dataset, this.fields_view.arch);
var view_editor = new db.web.ViewEditor(this, this.$element, this.dataset, this.fields_view.arch);
view_editor.start();
} else {
this.notification.warn("Manage Views", "Could not find current view declaration");