コード例 #1
0
    def __init__(self):
        selectionDialog1.__init__(self,'stockgoods_search1.xml')

        rep = cuon.PDF.XML.report_stockgoods_number1.report_stockgoods_number1()
        self.dicReportData =  rep.dicReportData

        
        print "lists_stockgoods_number1 start"
        
        sFile = self.getWidget('eFiledata').set_text(self.setFileName (_('stockgoods_number1.pdf') ))
        sFile = self.setFileName ( _('Test' ))
コード例 #2
0
    def __init__(self, dicCab):

        selectionDialog1.__init__(self,'cab_search1.xml')
        
        rep = cuon.PDF.XML.report_cab_monthly.report_cab_monthly()
        self.dicReportData =  rep.dicReportData
        self.dicCab = dicCab
        self.openDB()
        self.oUser = self.loadObject('User')
        
        #print `self.oUser`
        #print `self.oUser.getDicUser()`
        
        self.closeDB()
        self.dicUser = self.oUser.getDicUser()
        sFile = self.getWidget('eFiledata').set_text(self.setFileName (_('stockgoods_number1.pdf') ))
        sFile = self.setFileName( self.oUser.prefPath['StandardCAB1'] +  '/' +_('cabM-') + `self.dicCab['CabNumber']` + '.pdf' )