Nimesh Contractor(Open ERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-outlook.net-jam-doc_string-nco into lp:~openerp-dev/openobject-addons/trunk-outlook.net-jam.
Requested reviews: Jigar Amin (OpenERP) (jam-openerp) For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-outlook.net-jam-doc_string-nco/+merge/81264 Hello sir, I have added the doc strings. Thank You, NCO. -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-outlook.net-jam-doc_string-nco/+merge/81264 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-outlook.net-jam.
=== modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/CookComputing.XmlRpcV2.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/CookComputing.XmlRpcV2.dll 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/CookComputing.XmlRpcV2.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/CookComputing.XmlRpcV2.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/CookComputing.XmlRpcV2.pdb 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/CookComputing.XmlRpcV2.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/OpenERPClient.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/OpenERPClient.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/OpenERPClient.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/OpenERPClient.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/OpenERPClient.pdb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Debug/OpenERPClient.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/CookComputing.XmlRpcV2.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/CookComputing.XmlRpcV2.dll 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/CookComputing.XmlRpcV2.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/CookComputing.XmlRpcV2.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/CookComputing.XmlRpcV2.pdb 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/CookComputing.XmlRpcV2.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/OpenERPClient.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/OpenERPClient.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/OpenERPClient.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/OpenERPClient.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/OpenERPClient.pdb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/bin/Release/OpenERPClient.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Debug/OpenERPClient.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Debug/OpenERPClient.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Debug/OpenERPClient.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Debug/OpenERPClient.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Debug/OpenERPClient.pdb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Debug/OpenERPClient.pdb 2011-11-04 12:07:32 +0000 differ === removed file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Debug/ResolveAssemblyReference.cache' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Debug/ResolveAssemblyReference.cache 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Debug/ResolveAssemblyReference.cache 1970-01-01 00:00:00 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Release/OpenERPClient.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Release/OpenERPClient.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Release/OpenERPClient.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Release/OpenERPClient.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Release/OpenERPClient.pdb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Release/OpenERPClient.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Release/ResolveAssemblyReference.cache' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Release/ResolveAssemblyReference.cache 2011-11-03 13:21:26 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPClient/obj/Release/ResolveAssemblyReference.cache 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin.suo' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin.suo 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin.suo 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/ConfigManager.cs' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/ConfigManager.cs 2011-11-03 12:50:38 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/ConfigManager.cs 2011-11-04 12:07:32 +0000 @@ -35,6 +35,15 @@ public void SaveConfigurationSetting() { + /* + + * It creates file of the configration settings. + * It gets the folder path. + * Get the icon path. + * It saves the URL, User ID, Web URL, and database Name into the file. + + */ + string filepath = Tools.GetAppFolderPath(); string icon_path = Tools.GetIconPath(); OpenERPOutlookPlugin openerp_outlook = Cache.OpenERPOutlookPlugin; @@ -52,7 +61,12 @@ } public void LoadConfigurationSetting() { - + /* + + * It loads the configration settings when the configration form is loaded. + * When the form is loaded it reads the URL, User ID, Web URL, and Database Name from the file. + + */ string filePath = Tools.GetAppFolderPath(); string icon_path = Tools.GetIconPath(); //string filepath1 = Path.Combine(filePath, "Doclist.ini"); @@ -111,6 +125,12 @@ public void RemoveDocumentSettings(Model model) { + /* + + * This Removes the Document Name and Image from the file. + :param Model model: model name to remove + + */ ArrayList document_models = new ArrayList(Cache.DocumentModelList); Hashtable document_icons = Cache.DocumentIcons; OpenERPOutlookPlugin openerp_outlook = Cache.OpenERPOutlookPlugin; @@ -136,6 +156,12 @@ } public void RemoveIcon(Model model) { + /* + + * This Removes the Icon (Image) from the file. + :param Model model: model name to remove icon + + */ string icon_path = Tools.GetIconPath(); string filename = model.model.Replace(".", "_")+".ico"; @@ -149,6 +175,13 @@ } public void save_document_settings_file() { + /* + + * This will create a file in appropriate folder. + * File name will be combination of URL and Database Name. + * And saves the added module name in to the file. + + */ Model[] document_models = Cache.DocumentModelList; Hashtable document_icons = Cache.DocumentIcons; OpenERPOutlookPlugin openerp_outlook = Cache.OpenERPOutlookPlugin; @@ -175,6 +208,13 @@ public void SaveDocumentSettings(Model model, string image_path) { + /* + + It saves the model neme and icon if not into the existing file. + :param Model model: model name to store + :param string image_path: Image path of respected model + + */ ArrayList document_models = new ArrayList(Cache.DocumentModelList); Hashtable document_icons = Cache.DocumentIcons; OpenERPOutlookPlugin openerp_outlook = Cache.OpenERPOutlookPlugin; @@ -224,6 +264,13 @@ public void LoadDocumentSettings() { + /* + + * It loads the document setting whick kept the model name + which are installed with its image if image is set. + * If no moldule is installed then it will load partner document default. + + */ OpenERPOutlookPlugin openerp_outlook = Cache.OpenERPOutlookPlugin; OpenERPConnect openerp_connect = openerp_outlook.Connection; ArrayList document_models = new ArrayList(); === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/Connect.cs' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/Connect.cs 2011-11-03 04:34:46 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/Connect.cs 2011-11-04 12:07:32 +0000 @@ -138,6 +138,12 @@ public int countMail() { + /* + + * Gives the number of selected mail. + * return: Number of selected mail. + + */ cnt_mail = 0; Microsoft.Office.Interop.Outlook.Application app = null; @@ -151,6 +157,9 @@ } public void validate() { + /* + * As per the version it search the model mailgate.message or mail.message. + */ string[] strarr = Cache.OpenERPOutlookPlugin.get_version(); if(strarr[1] == "0") Cache.OpenERPOutlookPlugin.SearchModelByName("mailgate.message",null); @@ -159,6 +168,12 @@ } public void OnStartupComplete(ref System.Array custom) { + /* + + * When outlook is opened it loads a Menu if Outlook plugin is installed. + * OpenERP - > Push, Partner ,Documents, Configration + + */ Microsoft.Office.Interop.Outlook.Application app = null; try { @@ -247,6 +262,13 @@ public static bool isLoggedIn() { + /* + + * This will check that it is connecting with server or not. + * If wrong server name or port is given then it will throw the message. + * rerurns true If conneted with server, ortherwise False. + + */ if (Cache.OpenERPOutlookPlugin == null || Cache.OpenERPOutlookPlugin.isLoggedIn == false) { throw new Exception("OpenERP Server is not connected!\nPlease connect OpenERP Server from Configuration Menu."); === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/OpenERPOutlookPlugin.cs' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/OpenERPOutlookPlugin.cs 2011-11-04 10:32:38 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/OpenERPOutlookPlugin.cs 2011-11-04 12:07:32 +0000 @@ -38,10 +38,15 @@ public Boolean isLoggedIn - { + { + /* + + * This will check that user is logged in or not and get the value + * returns : True if loggedIn, False otherwise. + + */ get { - if (this.Connection != null) { return this.Connection.isLoggedIn; } return false; } @@ -55,13 +60,22 @@ public Record[] SearchPartner(object[] domain) { + /* + * Gives the array list of seach partners as per the given domain. + */ Model partner_model = new Model("res.partner"); partner_model.Connection = this.Connection; return partner_model.SearchRecord(domain); } public Record[] SearchPartnerByName(string name) { - + /* + + * This will search the list of partner as per the fiven domain. + :param string name : A name to search. + * return : list of records as per the given search criteria. + + */ Record[] object_list; if (name != null) { @@ -81,6 +95,9 @@ public void RedirectWeb(Hashtable args) { + /* + * Will open the url in to the web borwser. + */ string par = "?"; string WebURL = openerp_connect.URL; if (WebURL == "") @@ -123,8 +140,10 @@ public void RedirectDocumentPage(outlook.MailItem mail) { - // Method to open document attached in a url.returns the model_id and res_id of the document - + /* + * To open document attached in a url.returns the model_id and res_id of the document + :param outlook.MailItem mail: Outlook mails. + */ Record[] obj_list = this.SearchMessageRecordByMailItem(mail, "", 0); if (obj_list.Count() <= 0) { @@ -143,11 +162,22 @@ } public void show_partner(outlook.MailItem mailItem) { + /* + * To open Partner as url.returns the partner_id of the pratner + :Param outlook.MailItem mailItem : Outlook Mail item + */ frm_contact contact = new frm_contact(mailItem.SenderName, mailItem.SenderEmailAddress); contact.Show(); } public void RedirectPartnerPage(outlook.MailItem mail) { + /* + + * Will Redirect to the webbrowser and open partner. + * If it will not found partner in res.partner.address (in contact) then + it will open the contact form to create a partenr. + :Param outlook.MailItem mailItem : Outlook Mail item + */ string email_id = mail.SenderEmailAddress.ToString(); ArrayList arg = new ArrayList(); arg.Add(new String[] { "email", "=", email_id }); @@ -195,6 +225,14 @@ public Model AddDefaultModel(string default_model_name) { + /* + + * Will search the default models if installed in ir.models + * Param Sting default_model_name: default model names to search it is intalled in ir.model + like (ex : res.partner, account.invoice, product.product, sale.order, crm.lead) + * Returns the searched model list + + */ ArrayList default_condition_list = new ArrayList(); String[] default_condition; default_condition = new String[] { "model", "=", default_model_name }; @@ -214,6 +252,9 @@ public Model SearchModelByName(string model_name, string name) { + /* + * This will search the Models By its name. + */ ArrayList condition_list = new ArrayList(); String[] condition; if (model_name != "") @@ -246,15 +287,30 @@ public string[] get_version() { - string version = this.Connection.ServerVersion(); - string[] strarr = version.Split('.'); + /* + + * This will gives the version of the openERP server version. + * returns string : server version. + + */ + string version = this.Connection.ServerVersion(); + string[] strarr = version.Split('.'); return strarr; } public Boolean PushMail(outlook.MailItem mail, string model, int thread_id) { - + /* + + * This will push the mail as per the selected items from the list. + :Param outlook.MailItem mail: selected mail from the outlook. + :Param string model : Model name to push. + :Param int thread_id : Thread id of the mail. + * If mail pushed successfully then it returns true. + * return False if mail Already Exist. + + */ Record[] messages = this.SearchMessageRecordByMailItem(mail, model, thread_id); if (messages.Count() == 0) { @@ -354,6 +410,15 @@ } public object[] get_attch_id(outlook.MailItem mail,string model,int thread_id) { + /* + + * Get the list of Attechments. + :Param outlook.MailItem mail: selected mail from the outlook. + :Param string model : Model name to push the attechments. + :Param int thread_id : Thread id of the mail. + * returns the list of objects of the attechments. + + */ object[] attachment_ids = this.AddAttachments(mail, model, thread_id); object[] final_att = null; if (attachment_ids != null && attachment_ids.Length > 0) @@ -366,6 +431,13 @@ public long CreatePartnerRecord(string name) { + /* + + * Creates a partner record in res.partner as per the name given in the plguin form. + :Param Stirng name: Name given to create a partner in the database. + * Returns a Long value : Partner id. + + */ Hashtable values = new Hashtable(); Model partner_model = new Model("res.partner"); partner_model.Connection = this.Connection; @@ -375,6 +447,25 @@ } public long CreateContactRecord(string partner_name, string name, string email_id, string street, string street2, string zip, string city, string office, string mobile, string fax, long country_id, long state_id) { + /* + + * Creates a Contact record in the res.partner.address as per the details given in the + pluging from of openERP outlook Plugin. + :Param string partner_name : Partner name for which it creates a contact + :Param string name : Contact name + :Param string email_id : Email address + :Param string street : Street address + :Param string street2 :Street address2 + :Param string zip : zip code of the city + :Param string city : city Name + :Param string office : Offoce Contact number + :Param string mobile : Mobile number + :Param string fax : Fax Nuber + :Param long country_id : selected Country ID + :Param long state_id : Selectd State ID. + * It reutns the long value if contact is created : Contact ID + + */ long partner_id = 0; String[] condition = new String[] { "name", "=", partner_name }; ArrayList condition_list = new ArrayList(); @@ -411,6 +502,15 @@ public Record[] SearchAttachments(string file_name, string model_name, int res_id) { + /* + + * Give the list of attechmets added. + :Param String file_name : Attech File name. + :Param Sting model_name : Model name + :Param integer res_id : Resource ID. + * Returns the list of attechemets. + + */ ArrayList filter = new ArrayList(); Model attchment_model = new Model("ir.attachment"); attchment_model.Connection = this.Connection; @@ -422,6 +522,15 @@ } public object[] AddAttachments(outlook.MailItem mail, string model_name, int res_id) { + /* + + * Add Attachments of the mail in to the given model. + :Param String file_name : Attech File name. + :Param Sting model_name : Model name + :Param integer res_id : Resource ID. + * returns the list of objects of attachemtns. + + */ Hashtable attachments = Tools.GetAttachments(mail); Model attchment_model = new Model("ir.attachment"); attchment_model.Connection = this.Connection; @@ -452,6 +561,12 @@ } public Record[] GetCountryList() { + /* + + * Gives the list of country names. + * retrns the Array list of records of country names. + + */ Model country_model = new Model("res.country"); country_model.Connection = this.Connection; Record[] object_list = country_model.SearchRecord(); @@ -461,6 +576,12 @@ public Record[] GetStateList() { + /* + + * Gives the list of state names. + * retrns the Array list of records of state names. + + */ Model state_model = new Model("res.country.state"); state_model.Connection = this.Connection; Record[] object_list = state_model.SearchRecord(null); @@ -469,7 +590,12 @@ } public Model[] GetMailModels() { - //function to get objects to display in combo box + /* + + * function to get objects to display in combo box + * returns the Array list of models. + + */ ArrayList obj_list = new ArrayList(); string[] str = this.get_version(); === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/Tools.cs' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/Tools.cs 2011-11-03 05:37:20 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/Tools.cs 2011-11-04 12:07:32 +0000 @@ -44,6 +44,14 @@ } static public string GetFileName(string url, string dbName) { + /* + + * As per the URL and DataBase name it get + :Param string url : take the url Name + :Param string dbname : take the database name + * returns string file name created as per the url and database name. + + */ if (url == null || dbName == null) return ""; string[] urls = Tools.SplitURL(url); @@ -59,6 +67,13 @@ } static public string[] SplitURL(string url) { + /* + + * Split the url in three parts protocal host and prot number. + :Param string url : url to split. + * returnts the string array which contains the protocol, host name and port nubmber. + + */ string protocall = ""; string host = "localhost"; string port = "8069"; @@ -76,6 +91,15 @@ } static public string JoinURL(string host, string port, bool ssl) { + /* + + * Join the url as per the host, port and protocols are given. + :Param string host : host name + :Param string port : port number + :Param boolean ssl : protocol + * reruns a string url combination of host, port and protocol. + + */ string protocall = "http"; if (ssl) protocall = "https"; string url = protocall + "://" + host; @@ -84,6 +108,12 @@ } static public Hashtable GetAttachments(outlook.MailItem mail) { + /* + + * Gets the attechments of selected mail of outlook mail items. + :Param outlook.MailItem mail : gives the selected mail item from the outlook. + * rerutns the hashtable (dictionary) value of the attachemts. + */ System.IO.FileStream inFile; Hashtable attach = new Hashtable(); string[] strattch = new string[4]; @@ -104,7 +134,12 @@ } static public string GetAppFolderPath() { - + /* + + * Gets the path of Applicaion folder. + * returns String value of file path. + + */ string filePath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); filePath = System.IO.Path.Combine(filePath, "OpenERPOutlook"); if (!Directory.Exists(filePath)) @@ -116,6 +151,13 @@ static public string GetIconPath() { + /* + + * Gets the icon path from the applicaion folder if icon filder is already exist + * If icon folder is not exists then it will create Icon Folder. + * rerunts string Icon Path. + + */ string IconPath = GetAppFolderPath(); IconPath = System.IO.Path.Combine(IconPath, "Icons"); if (!Directory.Exists(IconPath)) === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/CookComputing.XmlRpcV2.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/CookComputing.XmlRpcV2.dll 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/CookComputing.XmlRpcV2.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/CookComputing.XmlRpcV2.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/CookComputing.XmlRpcV2.pdb 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/CookComputing.XmlRpcV2.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPClient.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPClient.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPClient.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPClient.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPClient.pdb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPClient.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPOutlookPlugin.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPOutlookPlugin.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPOutlookPlugin.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPOutlookPlugin.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPOutlookPlugin.pdb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPOutlookPlugin.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPOutlookPlugin.tlb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPOutlookPlugin.tlb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Debug/OpenERPOutlookPlugin.tlb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/CookComputing.XmlRpcV2.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/CookComputing.XmlRpcV2.dll 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/CookComputing.XmlRpcV2.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/CookComputing.XmlRpcV2.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/CookComputing.XmlRpcV2.pdb 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/CookComputing.XmlRpcV2.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPClient.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPClient.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPClient.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPClient.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPClient.pdb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPClient.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPOutlookPlugin.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPOutlookPlugin.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPOutlookPlugin.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPOutlookPlugin.tlb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPOutlookPlugin.tlb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/bin/Release/OpenERPOutlookPlugin.tlb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_contact.cs' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_contact.cs 2011-11-03 10:36:18 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_contact.cs 2011-11-04 12:07:32 +0000 @@ -62,6 +62,10 @@ public string PartnerText { + /* + * This will sets and gets the partner name. + * returns string of partner name. + */ get { return this.txt_partner.Text; === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_openerp_configuration.Designer.cs' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_openerp_configuration.Designer.cs 2011-11-03 12:50:38 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_openerp_configuration.Designer.cs 2011-11-04 12:07:32 +0000 @@ -421,7 +421,7 @@ // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(204, 57); + this.pictureBox1.Location = new System.Drawing.Point(276, 102); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(194, 50); this.pictureBox1.TabIndex = 1; @@ -430,12 +430,14 @@ // richTextBox1 // this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.richTextBox1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.richTextBox1.Location = new System.Drawing.Point(6, 19); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.ReadOnly = true; this.richTextBox1.Size = new System.Drawing.Size(768, 311); this.richTextBox1.TabIndex = 0; this.richTextBox1.Text = resources.GetString("richTextBox1.Text"); + this.richTextBox1.Click += new System.EventHandler(this.richTextBox1_Click); // // opendialog_image // === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_openerp_configuration.cs' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_openerp_configuration.cs 2011-11-03 12:50:38 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_openerp_configuration.cs 2011-11-04 12:07:32 +0000 @@ -19,7 +19,7 @@ using System; using System.Drawing; using System.Windows.Forms; - +using System.Diagnostics; using OpenERPClient; namespace OpenERPOutlookPlugin @@ -42,6 +42,13 @@ } private void add_item_documentlist(Model model) { + /* + + * This will add the document as the name is given and + model is installed in the database. + * With image it path is set. + + */ ListViewItem item = new ListViewItem(); item.Name = model.model; item.Text = model.name; @@ -61,6 +68,9 @@ } void load_dbname_list() { + /* + * Will load the list of databases in to the combobox as per the url is given. + */ combo_config_database.Items.Clear(); OpenERPOutlookPlugin openerp_outlook = Cache.OpenERPOutlookPlugin; OpenERPConnect openerp_connect = openerp_outlook.Connection; @@ -306,6 +316,11 @@ + private void richTextBox1_Click(object sender, EventArgs e) + { + Process.Start("http://www.openerp.com/"); + } + } === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_openerp_configuration.resx' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_openerp_configuration.resx 2011-10-19 07:22:30 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_openerp_configuration.resx 2011-11-04 12:07:32 +0000 @@ -212,7 +212,8 @@ </value> </data> <data name="richTextBox1.Text" xml:space="preserve"> - <value> + <value> + This Outlook Plugin For OpenERP Presently (2011-Today) developed By OpenERP SA. @@ -221,10 +222,10 @@ - For More Information, Please Visit Our Website - http://www.openerp.com/ + For More Information, Please Visit Our Website + http://www.openerp.com/ - Copyright 2006-TODAY OpenERP SA ALL Rights Reserved. + Copyright 2006-TODAY OpenERP SA ALL Rights Reserved. </value> </data> <metadata name="opendialog_image.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_push_mail.cs' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_push_mail.cs 2011-11-03 04:34:46 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_push_mail.cs 2011-11-04 12:07:32 +0000 @@ -54,6 +54,14 @@ bool push_mail(string model, int thread_id) { + /* + + * This will take the mail to push from the number of mail items. + :param String model: model name in which to push mail + :param integer thread_id: Thread id of mail item to push. + * return : true + + */ foreach (outlook.MailItem mailItem in Tools.MailItems()) { Cache.OpenERPOutlookPlugin.PushMail(mailItem, model, thread_id); @@ -212,6 +220,9 @@ void load_data_list() { + /* + * This will load the list of models which are checked into the listbox with sorting. + */ lstview_object.Items.Clear(); foreach (Model model in chklst_doc.CheckedItems) { === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_select_partner.cs' --- outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_select_partner.cs 2011-11-03 04:34:46 +0000 +++ outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/frm_select_partner.cs 2011-11-04 12:07:32 +0000 @@ -77,6 +77,9 @@ public void search_lst_partner() { + /* + * Will search the list of partners as per the given seach criteria. + */ try { lstbox_select_partner.Items.Clear(); @@ -107,6 +110,9 @@ public string SelectPartnerText { + /* + * Will gets and sets the selected partner from the list of partners. + */ get { return this.txt_select_partner.Text; === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.csproj.GenerateResource.Cache' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.csproj.GenerateResource.Cache 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.csproj.GenerateResource.Cache 2011-11-04 12:07:32 +0000 differ === removed file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.csproj.ResolveComReference.cache' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.csproj.ResolveComReference.cache 2011-11-03 12:50:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.csproj.ResolveComReference.cache 1970-01-01 00:00:00 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.frm_openerp_configuration.resources' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.frm_openerp_configuration.resources 2011-09-27 08:55:13 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.frm_openerp_configuration.resources 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.pdb 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/OpenERPOutlookPlugin.pdb 2011-11-04 12:07:32 +0000 differ === removed file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/ResolveAssemblyReference.cache' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/ResolveAssemblyReference.cache 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Debug/ResolveAssemblyReference.cache 1970-01-01 00:00:00 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/OpenERPOutlookPlugin.csproj.UnmanagedRegistration.cache' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/OpenERPOutlookPlugin.csproj.UnmanagedRegistration.cache 2011-11-03 13:21:26 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/OpenERPOutlookPlugin.csproj.UnmanagedRegistration.cache 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.csproj.GenerateResource.Cache' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.csproj.GenerateResource.Cache 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.csproj.GenerateResource.Cache 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.csproj.ResolveComReference.cache' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.csproj.ResolveComReference.cache 2011-11-03 12:50:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.csproj.ResolveComReference.cache 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.dll 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.frm_openerp_configuration.resources' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.frm_openerp_configuration.resources 2011-10-05 11:44:46 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/OpenERPOutlookPlugin.frm_openerp_configuration.resources 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/ResolveAssemblyReference.cache' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/ResolveAssemblyReference.cache 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPlugin/obj/Release/ResolveAssemblyReference.cache 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPluginSetup/Debug/OpenERPOutlookPluginSetup.msi' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPluginSetup/Debug/OpenERPOutlookPluginSetup.msi 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPluginSetup/Debug/OpenERPOutlookPluginSetup.msi 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPluginSetup/Release/OpenERPOutlookPluginSetup.msi' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPluginSetup/Release/OpenERPOutlookPluginSetup.msi 2011-11-04 10:32:38 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/OpenERPOutlookPluginSetup/Release/OpenERPOutlookPluginSetup.msi 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/bin/CookComputing.XmlRpcV2.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/bin/CookComputing.XmlRpcV2.dll 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/bin/CookComputing.XmlRpcV2.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/bin/CookComputing.XmlRpcV2.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/bin/CookComputing.XmlRpcV2.pdb 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/bin/CookComputing.XmlRpcV2.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/src/obj/Debug/CookComputing.XmlRpcV2.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/src/obj/Debug/CookComputing.XmlRpcV2.dll 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/src/obj/Debug/CookComputing.XmlRpcV2.dll 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/src/obj/Debug/CookComputing.XmlRpcV2.pdb' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/src/obj/Debug/CookComputing.XmlRpcV2.pdb 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/src/obj/Debug/CookComputing.XmlRpcV2.pdb 2011-11-04 12:07:32 +0000 differ === modified file 'outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/src/obj/Release/CookComputing.XmlRpcV2.dll' Binary files outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/src/obj/Release/CookComputing.XmlRpcV2.dll 2011-11-03 11:31:59 +0000 and outlook/plugin/openerp-outlook-plugin_v2.0/xml-rpc.net.2.5.0/src/obj/Release/CookComputing.XmlRpcV2.dll 2011-11-04 12:07:32 +0000 differ
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp