[IMP] Use cors in pos devices.js

bzr revid: fme@openerp.com-20140130151235-0kewmjr5g2w6aiij
This commit is contained in:
Fabien Meghazi 2014-01-30 16:12:35 +01:00
parent b0fa27dc7c
commit 3a8291d8ed
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ function openerp_pos_devices(instance,module){ //module is instance.point_of_sal
// connects to the specified url
connect: function(url){
var self = this;
this.connection = new instance.web.Session(undefined,url);
this.connection = new instance.web.Session(undefined,url, { use_cors: true});
this.host = url;
this.set_connection_status('connecting',{});