[FIX] rename Session into Connection

bzr revid: al@openerp.com-20111108232000-ivygu9hmn83316oi
This commit is contained in:
Antony Lesuisse
2011-11-09 00:20:00 +01:00
parent dc844d92b6
commit 3dfaee2bdd
+2 -2
View File
@@ -10,7 +10,7 @@ openerp.edi.EdiView = openerp.web.Widget.extend({
this._super();
this.db = db;
this.token = token;
this.session = new openerp.web.Session();
this.session = new openerp.web.Connection();
this.template = "EdiEmpty";
this.content = "";
this.sidebar = "";
@@ -117,7 +117,7 @@ openerp.edi.EdiImport = openerp.web.Widget.extend({
var params = {};
this.template = "EdiImport";
this.session = new openerp.web.Session();
this.session = new openerp.web.Connection();
this.login = new openerp.web.Login(this);
this.header = new openerp.web.Header(this);
this.header.on_logout.add(this.login.on_logout);