[IMP]: Improvement url path and usability
authorksa (Open ERP) <ksa@tinyerp.co.in>
Tue, 5 Oct 2010 08:46:43 +0000 (14:16 +0530)
committerksa (Open ERP) <ksa@tinyerp.co.in>
Tue, 5 Oct 2010 08:46:43 +0000 (14:16 +0530)
bzr revid: ksa@tinyerp.co.in-20101005084643-5j2exbk080e34jh9

addons/thunderbird/plugin/openerp_plugin.xpi
addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar
addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js
addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd

index a494ea6..3070c58 100644 (file)
Binary files a/addons/thunderbird/plugin/openerp_plugin.xpi and b/addons/thunderbird/plugin/openerp_plugin.xpi differ
index 97fef73..64ed5f4 100644 (file)
Binary files a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar and b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar differ
index bd2fe50..d028b4a 100755 (executable)
@@ -195,11 +195,9 @@ var openPartnerHandler = {
             if(strlSearchResult=="partner_id"){
                 partner_id = strlSearchResultValue;
                 weburl = getWebServerURL();
-                webport = getwebPort();
-                var urlport = weburl+':'+webport
 
                 if (parseInt(partner_id) > 0){
-                  var t = urlport + "/openerp/form/view?model=res.partner&id="+partner_id;
+                  var t = weburl + "/openerp/form/view?model=res.partner&id="+partner_id;
                    alert(t + ":" + " " + "\n\n" + "You can copy this URL into your WebBrowser if URL is not redirected automatic.");
 
                   window.open(t);
@@ -304,10 +302,8 @@ var listDocumentHandler = {
         res_id = res.QueryElementAt(1, Components.interfaces.nsISupportsPRInt32);
                model = res.QueryElementAt(0, Components.interfaces.nsISupportsCString); 
         weburl = getWebServerURL();
-        webport = getwebPort();
         
-        var urlport = weburl+':'+webport;
-        var t = urlport + "/openerp/form/view?model=" + model +"&id=" + res_id;
+        var t = weburl + "/openerp/form/view?model=" + model +"&id=" + res_id;
         alert(t + ":" + " " + "\n\n" + "You can copy this URL into your WebBrowser if URL is not redirected automatic.");
         window.open(t); 
          \r
index d7c602d..d3a2ae7 100755 (executable)
@@ -5,7 +5,7 @@
 <!ENTITY ok.label "OK">\r
 <!ENTITY connection.label "Connect">
 <!ENTITY setconnection.label "Change">
-<!ENTITY openconnection.label "Connect">\r
+<!ENTITY openconnection.label "Open">\r
 <!ENTITY txturl.label "Server: ">
 <!ENTITY txtweburl.label "Server: ">
 <!ENTITY txtwebport.label "Port: ">\r