[IMP]Outlook Plugin - Remove Extra Document from create document and added removed Open Contact
bzr revid: jam@tinyerp.com-20101029120201-mne25hqqgbfuupbx
This commit is contained in:
Executable → Regular
+11
-11
@@ -209,19 +209,19 @@ class OutlookAddin:
|
||||
item.Enabled = True
|
||||
|
||||
# Hook events for the item
|
||||
item = toolbarweb.Controls.Add(Type = constants.msoControlButton, Temporary = True)
|
||||
item = self.toolbarButtonPartner = DispatchWithEvents(item, ViewPartners)
|
||||
item.Caption = "Open Contact"
|
||||
item.TooltipText = "Click to Open OpenERP Partner Contact Information."
|
||||
item.Enabled = True
|
||||
# item = toolbarweb.Controls.Add(Type = constants.msoControlButton, Temporary = True)
|
||||
# item = self.toolbarButtonPartner = DispatchWithEvents(item, ViewPartners)
|
||||
# item.Caption = "Open Contact"
|
||||
# item.TooltipText = "Click to Open OpenERP Partner Contact Information."
|
||||
# item.Enabled = True
|
||||
|
||||
|
||||
item = tools_menu.Controls.Add(Type=constants.msoControlButton, Temporary=True)
|
||||
# Hook events for the item
|
||||
item = self.menu_bar_viewpartner_Button = DispatchWithEvents(item, ViewPartners)
|
||||
item.Caption = "Open Contact"
|
||||
item.TooltipText = "Click to Open Partner detail"
|
||||
item.Enabled = True
|
||||
# item = tools_menu.Controls.Add(Type=constants.msoControlButton, Temporary=True)
|
||||
# # Hook events for the item
|
||||
# item = self.menu_bar_viewpartner_Button = DispatchWithEvents(item, ViewPartners)
|
||||
# item.Caption = "Open Contact"
|
||||
# item.TooltipText = "Click to Open Partner detail"
|
||||
# item.Enabled = True
|
||||
|
||||
item = tools_menu.Controls.Add(Type=constants.msoControlButton, Temporary=True)
|
||||
# Hook events for the item
|
||||
|
||||
Executable → Regular
-1
@@ -3790,7 +3790,6 @@ class CkSpider(_object):
|
||||
def CanonicalizeUrl(self, *args): return _chilkat.CkSpider_CanonicalizeUrl(self, *args)
|
||||
def getDomain(self, *args): return _chilkat.CkSpider_getDomain(self, *args)
|
||||
def getBaseDomain(self, *args): return _chilkat.CkSpider_getBaseDomain(self, *args)
|
||||
|
||||
def canonicalizeUrl(self, *args): return _chilkat.CkSpider_canonicalizeUrl(self, *args)
|
||||
def lastErrorText(self): return _chilkat.CkSpider_lastErrorText(self)
|
||||
def lastErrorXml(self): return _chilkat.CkSpider_lastErrorXml(self)
|
||||
|
||||
Executable → Regular
Executable → Regular
+3
-2
@@ -438,8 +438,6 @@ def TestConnection(btnProcessor,*args):
|
||||
win32ui.MessageBox("No database found on host "+ server+" at port "+str(port), "OpenERP Connection", flag_excl)
|
||||
return
|
||||
|
||||
|
||||
|
||||
uname = win32gui.GetDlgItemText(btnProcessor.window.hwnd, btnProcessor.other_ids[1])
|
||||
pwd = win32gui.GetDlgItemText(btnProcessor.window.hwnd, btnProcessor.other_ids[2])
|
||||
|
||||
@@ -1106,6 +1104,8 @@ def GetDefaultEmail(txtProcessor,*args):
|
||||
new_con_state = ""
|
||||
if country_ref == None:
|
||||
country_ref = ""
|
||||
|
||||
|
||||
if not b:
|
||||
return
|
||||
#Acquiring control of the text box
|
||||
@@ -1442,6 +1442,7 @@ def SerachOpenDocuemnt(txtProcessor,*args):
|
||||
txtProcessor.init_done=True
|
||||
return
|
||||
linktodoc = ""
|
||||
|
||||
message_id = None
|
||||
try:
|
||||
outlook = win32com.client.Dispatch("Outlook.Application")
|
||||
|
||||
Executable → Regular
Executable → Regular
Executable → Regular
+4
-4
@@ -227,10 +227,10 @@ class CSComboProcessor(ComboProcessor):
|
||||
objlist = conn.GetAllObjects()
|
||||
# if 'crm.claim' in objlist:
|
||||
# list.append('CRM Claim')
|
||||
if 'crm.helpdesk' in objlist:
|
||||
list.append('CRM Helpdesk')
|
||||
if 'crm.fundraising' in objlist:
|
||||
list.append('CRM Fundraising')
|
||||
# if 'crm.helpdesk' in objlist:
|
||||
# list.append('CRM Helpdesk')
|
||||
# if 'crm.fundraising' in objlist:
|
||||
# list.append('CRM Fundraising')
|
||||
if'hr.applicant' in objlist:
|
||||
list.append('HR Applicant')
|
||||
if'project.issue' in objlist:
|
||||
|
||||
Executable → Regular
Executable → Regular
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
Executable → Regular
Executable → Regular
Executable → Regular
+3
-3
File diff suppressed because one or more lines are too long
Executable → Regular
Executable → Regular
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Executable → Regular
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 96 KiB |
Executable → Regular
Executable → Regular
Executable → Regular
+1
-1
@@ -94,4 +94,4 @@ def generateEML(mail):
|
||||
if (success == False):
|
||||
print cemail.lastErrorText()
|
||||
sys.exit()
|
||||
return new_mail
|
||||
return new_mail
|
||||
Executable → Regular
Executable → Regular
+1
-1
@@ -43,7 +43,7 @@ def execute(connector, method, *args):
|
||||
if e.args[0] == 111:
|
||||
if wait_count > wait_limit:
|
||||
print "Server is taking too long to start, it has exceeded the maximum limit of %d seconds."%(wait_limit)
|
||||
# clean() Commented...
|
||||
clean()
|
||||
sys.exit(1)
|
||||
print 'Please wait %d sec to start server....'%(waittime)
|
||||
wait_count += 1
|
||||
|
||||
Reference in New Issue
Block a user