commit
8955b8c48d
Binary file not shown.
Binary file not shown.
|
@ -3,7 +3,7 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/address.dtd">
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="&title.label;" onload="myPrefObserver.createContactAddress()" height="380" width="720">
|
||||
title="&title.label;" onload="myPrefObserver.createContactAddress()" height="480" width="764">
|
||||
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script>
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script>
|
||||
|
@ -12,7 +12,8 @@
|
|||
<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script>
|
||||
|
||||
<tabpanel id="contact">
|
||||
<groupbox id="contact" style="border:1px solid black" width="712">
|
||||
<groupbox id="contact" style="border:1px solid black" width="752">
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
<hbox>
|
||||
<label align="right" id="emailid" value="&emailid.value;" width="94" />
|
||||
<textbox id="txtemail" width="268" align="right"/>
|
||||
|
@ -26,15 +27,16 @@
|
|||
<spacer width="5"/>
|
||||
<button label="New Partner" image="&imagecreate.value;" oncommand="CreatePartner.onMenuItemCommand(event);" width="133"/>
|
||||
</hbox>
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
</groupbox>
|
||||
</tabpanel>
|
||||
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
<tabpanel id="address">
|
||||
<groupbox id="address" style="border:1px solid black">
|
||||
<hbox >
|
||||
<caption label="&postaladdress.value;" />
|
||||
</hbox>
|
||||
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
<hbox>
|
||||
<label align="right" id="contactname" value="&contactname.value;" width="80" />
|
||||
<textbox id="txtcontactname" align="right" width="270" />
|
||||
|
@ -77,11 +79,13 @@
|
|||
</menupopup>
|
||||
</menulist>
|
||||
</hbox>
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
</groupbox>
|
||||
<groupbox id="communication" style="border:1px solid black">
|
||||
<groupbox id="communication" style="border:1px solid black" width="310">
|
||||
<vbox>
|
||||
<caption label="&communication.value;" />
|
||||
</vbox>
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
<hbox>
|
||||
<label align="right" id="office" value="&office.value;" width="50" />
|
||||
<textbox id="txtoffice" align="right"/>
|
||||
|
@ -96,11 +100,10 @@
|
|||
</hbox>
|
||||
</groupbox>
|
||||
</tabpanel>
|
||||
|
||||
<description></description>
|
||||
|
||||
<hbox align="right">
|
||||
<button label="&cancel.label;" image="&imagecancel.value;" oncommand="close();" />
|
||||
<button label="&cancel.label;" image="&imagecancel.value;" oncommand="close();"/>
|
||||
<button label="&ok.label;" image="&imageok.value;" oncommand="UpdateContact();"/>
|
||||
|
||||
</hbox>
|
||||
|
|
|
@ -3,29 +3,27 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/config_change.dtd">
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml" onload="config_change_load()"
|
||||
title="Openerp Connection" height="140" width="280">
|
||||
title="Openerp Connection" height="140" width="240">
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script>
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script>
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script>
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/static.js"></script>
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script>
|
||||
<hbox>
|
||||
<spacer width="70"/>
|
||||
<description>Openerp Connection</description>
|
||||
<label align="center" id="heading" value="&lblheading.label;" style="padding-left:38px" />
|
||||
</hbox>
|
||||
<groupbox id="gpData" width="200">
|
||||
<hbox >
|
||||
<label id="lblurl" control="txtcurl" value="&lblurl.label;" width="80"/>
|
||||
<textbox id="txtcurl" width="100" />
|
||||
<label id="lblurl" control="txtcurl" value="&lblurl.label;" width="50"/>
|
||||
<textbox id="txtcurl" width="140" />
|
||||
</hbox>
|
||||
<hbox>
|
||||
<label id="lblport" control="txtcport" value="&lblport.label;" width="80"/>
|
||||
<textbox id="txtcport" width="100" />
|
||||
<label id="lblport" control="txtcport" value="&lblport.label;" width="50"/>
|
||||
<textbox id="txtcport" width="140" />
|
||||
</hbox>
|
||||
|
||||
</groupbox>
|
||||
<hbox align="right">
|
||||
<spacer width="50"/>
|
||||
<button label="Cancel" image="&imagecancel.value;" oncommand="config_close();" />
|
||||
<button label="OK" image="&imageok.value;" oncommand="config_ok()"/>
|
||||
</hbox>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/create.dtd">
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="&title.label;" onload="myPrefObserver.createContact()" height="350" width="810">
|
||||
title="&title.label;" onload="myPrefObserver.createContact()" height="460" width="820">
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script>
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script>
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script>
|
||||
|
@ -11,6 +11,7 @@
|
|||
<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script>
|
||||
<tabpanel id="contact">
|
||||
<groupbox id="contact" style="border:1px solid black">
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
<hbox>
|
||||
<label align="right" id="partner" value="&selectpartner.value;" width="97" />
|
||||
<textbox id="txtselectpartner" readonly="true" value="" width="270"/>
|
||||
|
@ -20,16 +21,16 @@
|
|||
<label align="right" id="name" value="&name.value;" width="80" />
|
||||
<textbox id="txtname" align="right" width="270"/>
|
||||
</hbox>
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
</groupbox>
|
||||
</tabpanel>
|
||||
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
<tabpanel id="address">
|
||||
<groupbox id="address" style="border:1px solid black">
|
||||
<hbox>
|
||||
<caption label="&postaladdress.value;" />
|
||||
<spacer width="290"/>
|
||||
</hbox>
|
||||
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
<hbox>
|
||||
<label align="right" id="street" value="&street.value;" width="97" />
|
||||
<textbox id="txtstreet" width="270" align="right"/>
|
||||
|
@ -70,11 +71,13 @@
|
|||
</menupopup>
|
||||
</menulist>
|
||||
</hbox>
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
</groupbox>
|
||||
<groupbox id="communication" style="border:1px solid black">
|
||||
<vbox>
|
||||
<caption label="&communication.value;" />
|
||||
</vbox>
|
||||
<separator class="groove-thin" orient="horizontal" width="94"/>
|
||||
<hbox>
|
||||
<label align="right" id="office" value="&office.value;" width="50" />
|
||||
<textbox id="txtoffice" align="right" />
|
||||
|
@ -94,7 +97,7 @@
|
|||
</groupbox>
|
||||
</tabpanel>
|
||||
<description></description>
|
||||
<hbox align="right" width="810">
|
||||
<hbox align="right">
|
||||
<button label="&cancel.label;" image="&imagecancel.value;" oncommand="close();" />
|
||||
<button label="&ok.label;" image="&imageok.value;" oncommand="createContact();"/>
|
||||
</hbox>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/plugin.dtd">
|
||||
<window id="pluginwindows" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="&title.label;" onload="myPrefObserver.loaddata()" height="540" width="1000">
|
||||
title="&title.label;" onload="myPrefObserver.loaddata()" height="600" width="1000">
|
||||
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script>
|
||||
<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script>
|
||||
|
@ -13,15 +13,16 @@
|
|||
<script type="text/javascript" src="chrome://openerp_plugin/content/exportTools.js"></script>
|
||||
<description></description>
|
||||
<hbox id="root">
|
||||
<vbox width="50%" >
|
||||
<vbox width="50%" style="padding:12px;">
|
||||
<caption label="&gptinyobj.label;" />
|
||||
<groupbox height="375" id="existsobjectgroup" width="100%" style="border:1px solid black">
|
||||
<separator class="groove-thin" orient="horizontal" width="1000"/>
|
||||
<hbox>
|
||||
<label id="lblsearch" control="txtvalueobj" value="&search.label;"/>
|
||||
<textbox id="txtvalueobj" size="30"/>
|
||||
<button label="&bsearch.label;" oncommand="searchCheckbox()" image="&imagesearch.value;" accesskey="s"/>
|
||||
</hbox>
|
||||
<vbox align="left" id="checkbox-dynamic">
|
||||
<vbox align="left" id="checkbox-dynamic" >
|
||||
</vbox>
|
||||
<hbox align="left">
|
||||
<image src='chrome://openerp_plugin/skin/perform.gif'/>
|
||||
|
@ -32,9 +33,9 @@
|
|||
<description>Documents</description>
|
||||
</hbox>
|
||||
<vbox>
|
||||
<hbox style="border:1;overflow: auto;" height="250" width="100%">
|
||||
<hbox height="250" width="100%">
|
||||
|
||||
<listbox height="250" width="510" id="listSearchBox" seltype="multiple">
|
||||
<listbox height="250" width="480" id="listSearchBox" seltype="multiple">
|
||||
<listhead>
|
||||
<listheader label="&listSearchBox.header;"/>
|
||||
</listhead>
|
||||
|
@ -44,15 +45,18 @@
|
|||
</listbox>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<separator class="groove-thin" orient="horizontal" width="1000"/>
|
||||
<hbox align="right">
|
||||
<button label="&attach.label;" accesskey="u" image="&imagearchive.value;" oncommand="attachmentWidnowOpen('upload');"/>
|
||||
</hbox>
|
||||
<separator class="groove-thin" orient="horizontal" width="1000"/>
|
||||
</groupbox>
|
||||
|
||||
</vbox>
|
||||
<vbox width="50%" align="left" >
|
||||
<vbox width="50%" align="left" style="padding:12px;" >
|
||||
<caption label="&newobject.label;" />
|
||||
<groupbox id="newobjectgroup" align="left" width="100%" height="382" style="border:1px solid black">
|
||||
<groupbox id="newobjectgroup" align="left" width="100%" height="440" style="border:1px solid black;">
|
||||
<separator class="groove-thin" orient="horizontal" width="1000"/>
|
||||
<hbox align="left">
|
||||
<vbox>
|
||||
<label id="lblex3" align="right" width="135" control="section" value="&object.label;"/>
|
||||
|
|
|
@ -1432,7 +1432,7 @@ function upload_archivemail()
|
|||
var b = [ref_ids, eml_string];
|
||||
var arrofarr = dictcontact(a,b);
|
||||
xmlRpcClient.asyncCall(listArchiveHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6);
|
||||
alert("Mail Archived Successfully");
|
||||
alert("Mail Archived Successfully.");
|
||||
window.close();
|
||||
|
||||
}
|
||||
|
@ -1463,7 +1463,7 @@ function create_archivemail(){
|
|||
var b = [object, eml_string];
|
||||
var arrofarr = dictcontact(a,b);
|
||||
xmlRpcClient.asyncCall(listArchiveHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6);
|
||||
alert("Document Created Successfully");
|
||||
alert("Document Created Successfully.");
|
||||
}
|
||||
window.close();
|
||||
}
|
||||
|
@ -1679,7 +1679,7 @@ var listLoginHandler = {
|
|||
if(login.type == 12){
|
||||
login = result.QueryInterface(Components.interfaces.nsISupportsPRInt32)
|
||||
setUserId(login.data);
|
||||
alert('Successfully Login To OpenERP');
|
||||
alert('Successfully Login To OpenERP.');
|
||||
window.close();
|
||||
}
|
||||
else{
|
||||
|
@ -1706,7 +1706,7 @@ function testConnection(){
|
|||
{
|
||||
if (document.getElementById('DBlist_text').value =='')
|
||||
{
|
||||
alert("You Must Enter Database Name");
|
||||
alert("You Must Enter Database Name.");
|
||||
return false;
|
||||
}
|
||||
setDbName(document.getElementById('DBlist_text').value);
|
||||
|
@ -1715,7 +1715,7 @@ function testConnection(){
|
|||
{
|
||||
if (document.getElementById('DBlist').value == 0 || document.getElementById('DBlist').value =="--select--")
|
||||
{
|
||||
alert("You Must Select Database Name");
|
||||
alert("You Must Select Database Name.");
|
||||
return false;
|
||||
}
|
||||
setDbName(document.getElementById('DBlist').value);
|
||||
|
@ -1751,7 +1751,7 @@ var listcreateLoginHandler = {
|
|||
setUserId(login.data);
|
||||
}
|
||||
else{
|
||||
alert("Login Failed");
|
||||
alert("Login Failed.");
|
||||
}
|
||||
},
|
||||
onFault: function (client, ctxt, fault) {
|
||||
|
@ -1787,7 +1787,7 @@ var listCreatePartnerHandler = {
|
|||
window.close();
|
||||
}
|
||||
if(createId == 0){
|
||||
alert("Partner Already Exist");
|
||||
alert("Partner Already Exist.");
|
||||
}
|
||||
},
|
||||
onFault: function (client, ctxt, fault) {
|
||||
|
@ -1815,7 +1815,7 @@ function createPartner(){
|
|||
var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{});
|
||||
strobj.data = 'thunderbird.partner';
|
||||
if(document.getElementById('txtname').value ==''){
|
||||
alert("You Must Enter Partner Name");
|
||||
alert("You Must Enter Partner Name.");
|
||||
return false;
|
||||
}
|
||||
var a = ['name'];
|
||||
|
@ -1829,7 +1829,7 @@ var listSearchDocumentHandler = {
|
|||
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess');
|
||||
var searchResult = result.QueryInterface(Components.interfaces.nsISupportsPRInt32);
|
||||
if(searchResult.data == 0){
|
||||
alert("Document Does Not Exist");
|
||||
alert("Document Does Not Exist.");
|
||||
return false;
|
||||
}
|
||||
var objvalue = getPref().getCharPref("listobject");
|
||||
|
@ -1842,7 +1842,7 @@ var listSearchDocumentHandler = {
|
|||
|
||||
|
||||
if(objectcharpref.indexOf(document.getElementById("txtobject").value) != -1){
|
||||
alert("Document already in List");
|
||||
alert("Document already in List.");
|
||||
}
|
||||
else{
|
||||
var listItem = document.createElement("listitem");
|
||||
|
@ -1897,11 +1897,11 @@ function searchDocument(){
|
|||
var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{});
|
||||
strobj.data = 'thunderbird.partner';
|
||||
if(document.getElementById('txtobj').value =='' ){
|
||||
alert("You Must Enter Document");
|
||||
alert("You Must Enter Document.");
|
||||
return false;
|
||||
}
|
||||
if(document.getElementById('txtobject').value =='' ){
|
||||
alert("You Must Enter Document Name");
|
||||
alert("You Must Enter Document Name.");
|
||||
return false;
|
||||
}
|
||||
var a = ['model'];
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<!ENTITY lblurl.label "Server: ">
|
||||
<!ENTITY lblport.label "Port: ">
|
||||
<!ENTITY lblport.label "Port: ">
|
||||
<!ENTITY lblheading.label "Openerp Connection">
|
||||
<!ENTITY imagecancel.value "chrome://openerp_plugin/skin/Error.gif">
|
||||
<!ENTITY imageok.value "chrome://openerp_plugin/skin/Success.gif">
|
||||
|
||||
|
|
Loading…
Reference in New Issue