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

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

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLLedger.py   Products.BastionLedger(Download)
from BLEntry import BLEntry
from BLProcess import BLProcess
from BLReport import BLReportFolder
from Exceptions import MissingAssociation
from Permissions import ManageBastionLedgers, OperateBastionLedgers
    def __init__(self, id, title, currencies, account_id=1, account_prefix='A',
                 txn_id=1, txn_prefix='T'):
        LargePortalFolder.__init__(self, id)
        ZCatalog.__init__(self, id, title)
        self.Reports = BLReportFolder('Reports','')
 
        if not getattr(aq_base(self),'Reports', None):
            self.Reports = BLReportFolder('Reports')
 
        for fn in (self.accountValues, self.transactionValues):

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/Ledger.py   Products.BastionLedger(Download)
except:
    DO_PAYROLL = False
from BLReport import BLReportFolder
from BLPeriodInfo import BLLedgerPeriodsFolder
from BLTransaction import manage_addBLTransaction
        self.secretary = ''
        self.accrued_to = ceiling_date(accrued_to or self.bobobase_modification_time())
        self.Reports = BLReportFolder('Reports', 'Reports')
        self.periods = BLLedgerPeriodsFolder()