[IMP]: Improvement url path and usability
bzr revid: ksa@tinyerp.co.in-20101005084643-5j2exbk080e34jh9
This commit is contained in:
parent
307f7e8f5a
commit
9d2980ec30
Binary file not shown.
Binary file not shown.
|
@ -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);
|
||||
|
||||
|
|
|
@ -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: ">
|
||||
|
|
Loading…
Reference in New Issue