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);
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
<!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