[IMP] Outlook: Added Open Document Button in Tools Menu
bzr revid: jam@tinyerp.com-20101110100804-t1tdmqhe0t4wb0bv
This commit is contained in:
@@ -205,7 +205,7 @@ class OutlookAddin:
|
||||
item = toolbarweb.Controls.Add(Type = constants.msoControlButton, Temporary = True)
|
||||
item = self.toolbarButtonOpenDocument = DispatchWithEvents(item, OpenDocument)
|
||||
item.Caption = "Open Document"
|
||||
item.TooltipText = "Click to Open Document that ha been pushed to server."
|
||||
item.TooltipText = "Click to Open Document that has been pushed to server."
|
||||
item.Enabled = True
|
||||
|
||||
# Hook events for the item
|
||||
@@ -230,6 +230,13 @@ class OutlookAddin:
|
||||
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_opendocument_Button = DispatchWithEvents(item, OpenDocument)
|
||||
item.Caption = "Open Document"
|
||||
item.TooltipText = "Click to Open Document that has been pushed to server."
|
||||
item.Enabled = True
|
||||
|
||||
|
||||
def OnDisconnection(self, mode, custom):
|
||||
mngr = manager.GetManager()
|
||||
|
||||
Reference in New Issue
Block a user