def __init__(self, *args): fileSelection.__init__(self) self.iFile = None self.fromChangedValue = ' ' self.toChangedValue = ';' # set later here args to self.ImportTable self.ImportTable = 'countries'
def __init__(self, allTables): fileSelection.__init__(self) self.dicFileAttributes = {} self.dicFileAttributes["iFile"] = None self.dicFileAttributes["splitValue"] = ";" self.dicFileAttributes["fromChangedValue"] = None self.dicFileAttributes["toChangedValue"] = "" self.dicFileAttributes["allTables"] = allTables
def __init__(self, allTables): fileSelection.__init__(self) self.dicFileAttributes = {} self.dicFileAttributes['iFile'] = None self.dicFileAttributes['splitValue'] = ';' self.dicFileAttributes['fromChangedValue'] = None self.dicFileAttributes['toChangedValue'] = '' self.dicFileAttributes['allTables'] = allTables self.iColumns = 0
def __init__(self, allTables): fileSelection.__init__(self) self.dicFileAttributes = {} self.dicFileAttributes['iFile'] = None self.dicFileAttributes['splitValue'] = ';' self.dicFileAttributes['fromChangedValue'] = None self.dicFileAttributes['toChangedValue'] = '' self.dicFileAttributes['printHeader'] = 'YES' #self.dicFileAttributes['allTables'] = allTables self.rpc = cuon.XMLRPC.xmlrpc.myXmlRpc() self.iColumns = 0 self.dicFileAttributes['Decoding'] = None self.dicFileAttributes['Encoding'] = None
def __init__(self, dicOrder): standardlist.__init__(self) rep = cuon.PDF.report_order_standard_invoice.report_order_standard_invoice() self.dicReportData = rep.dicReportData self.dicOrder = dicOrder self.openDB() self.oUser = self.loadObject('User') print `self.oUser` print `self.oUser.getDicUser()` self.closeDB() sFile = self.setFileName( self.oUser.prefPath['StandardDelivery1'] + '/' +_('Outgoing_Document-') + `self.dicOrder['outgoingNumber']` + '.pdf' ) fileSelection.__init__(self, initialFilename = sFile )