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

All Samples(11)  |  Call(0)  |  Derive(7)  |  Import(4)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLAccount.py   Products.BastionLedger(Download)
from Products.AdvancedQuery import And, Between, Eq, In, Le, Ge, MatchRegexp
from utils import floor_date, ceiling_date, assert_currency, isDerived
from BLBase import ProductsDictionary, PortalContent, PortalFolder, LargePortalFolder
from Products.BastionBanking.ZCurrency import ZCurrency, CURRENCIES
from Products.BastionBanking.Exceptions import UnsupportedCurrency
class BLAccount(LargePortalFolder, BLAttachmentSupport, BLTaxCodeSupport):
    meta_type = portal_type = 'BLAccount'

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLTaxTables.py   Products.BastionLedger(Download)
from Permissions import OperateBastionLedgers, ManageBastionLedgers
from DateTime import DateTime
from BLBase import PortalContent, LargePortalFolder, ProductsDictionary
from catalog import makeBLTaxTableCatalog
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
class BLTaxTable(LargePortalFolder, ZCatalog):
    A multi-dimensional table - implemented/extended via
    ZCatalog indexes

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLAssociations.py   Products.BastionLedger(Download)
from Acquisition import aq_base
from Permissions import ManageBastionLedgers, OperateBastionLedgers
from BLBase import PortalContent, LargePortalFolder, ProductsDictionary
from OFS.PropertyManager import PropertyManager
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
class BLAssociationsFolder(LargePortalFolder, ZCatalog):
    Implicit links between account(s) and things we want/need to associate
    meta_type = portal_type = 'BLAssociationFolder'

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLPeriodInfo.py   Products.BastionLedger(Download)
from Products.AdvancedQuery import Between, In, Le
from Products.BastionBanking.ZCurrency import ZCurrency
from BLBase import LargePortalFolder as Folder
from BLBase import PortalContent as SimpleItem
from BLGlobals import EPOCH, ACC_TYPES
class BLPeriodInfo(Folder):
    statistics info for ledger for a reporting period
    meta_type = portal_type = 'BLPeriodInfo'
class BLPeriodInfos(Folder):
    a container of PeriodInfo's for a ledger - the id is the same as the
    ledger it maps
class BLLedgerPeriodsFolder(Folder):
    a container of LedgerPeriod's for a set of ledger's
class BLLedgerPeriods(Folder): pass