Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(5)  |  Derive(0)  |  Import(2)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLPayroll.py   Products.BastionLedger(Download)
from BLGlobals import EPOCH
from BLBase import *
from BLReport import BLReport
from BLSubsidiaryLedger import BLSubsidiaryLedger
from BLSubsidiaryAccount import BLSubsidiaryAccount
            reports._delObject('payg-payment-summary-%s' % id)
        reports._setObject('payg-payment-summary-%s' % id,
                           BLReport('payg-payment-summary-%s' % id,
                                    'PAYG payment summary %s' % title_date,
                                    end,
                reports._delObject('tax-certificate-%s-%s' % (employee.getId(), id))
            reports._setObject('tax-certificate-%s-%s' % (employee.getId(), id),
                               BLReport('tax-certificate-%s-%s' % (employee.getId(), id), 
                                        'Tax Cert - %s %s' % (employee.title, title_date),
                                        end, 
            tax_office_text = employee.blemployee_tax_certificate(**tax_office_options).encode('ascii', 'ignore')
            employee._setObject('tax-certificate-%s' % id,
                                BLReport('tax-certificate-%s' % id, 
                                         'Tax Certificate %s' % title_date,
                                         end, 
            personal_text = employee.blemployee_tax_certificate(**personal_options).encode('ascii', 'ignore')
            employee._setObject('tax-certificate-copy-%s' % id,
                                BLReport('tax-certificate-copy-%s' % id, 
                                         'Tax Certificate - COPY %s' % title_date,
                                         end, 

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/PeriodEndTool.py   Products.BastionLedger(Download)
from utils import ceiling_date, floor_date
from Permissions import ManageBastionLedgers
from BLReport import BLReport
from Exceptions import PostingError, InvalidPeriodError
 
                rf._delObject(id)
            rf._setObject(id, 
                          BLReport(id, 
                                   '%s %s' % (string.capwords(report.replace('-', ' ')), effective.strftime('%B %Y')), 
                                   effective,