summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorksa (Open ERP) <ksa@tinyerp.co.in>2010-10-05 14:16:43 +0530
committerksa (Open ERP) <ksa@tinyerp.co.in>2010-10-05 14:16:43 +0530
commit9d2980ec30fa001049ca32fabae58d2ec1edfb41 (patch)
tree25788555c88b1f29a8d98e15ffd3883c2d6ff567 /addons
parent307f7e8f5ae0c9c89c9c091ab6a0af560bdf4f38 (diff)
[IMP]: Improvement url path and usability
bzr revid: ksa@tinyerp.co.in-20101005084643-5j2exbk080e34jh9
Diffstat (limited to 'addons')
-rw-r--r--addons/thunderbird/plugin/openerp_plugin.xpibin155087 -> 155025 bytes
-rw-r--r--addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jarbin73030 -> 72999 bytes
-rwxr-xr-xaddons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js8
-rwxr-xr-xaddons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd2
4 files changed, 3 insertions, 7 deletions
diff --git a/addons/thunderbird/plugin/openerp_plugin.xpi b/addons/thunderbird/plugin/openerp_plugin.xpi
index a494ea620ac..3070c582ecb 100644
--- a/addons/thunderbird/plugin/openerp_plugin.xpi
+++ b/addons/thunderbird/plugin/openerp_plugin.xpi
Binary files differ
diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar
index 97fef73e234..64ed5f4b7bf 100644
--- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar
+++ b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar
Binary files differ
diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js
index bd2fe506c3b..d028b4ab3ef 100755
--- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js
+++ b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js
@@ -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);
diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd
index d7c602d9b11..d3a2ae7c8c4 100755
--- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd
+++ b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd
@@ -5,7 +5,7 @@
<!ENTITY ok.label "OK">
<!ENTITY connection.label "Connect">
<!ENTITY setconnection.label "Change">
-<!ENTITY openconnection.label "Connect">
+<!ENTITY openconnection.label "Open">
<!ENTITY txturl.label "Server: ">
<!ENTITY txtweburl.label "Server: ">
<!ENTITY txtwebport.label "Port: ">