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

All Samples(19)  |  Call(0)  |  Derive(9)  |  Import(10)

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

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 BLTaxTableRecord(PortalContent):
    """
    A Catalogable record about a (tax) rate
    """
    meta_type = portal_type = 'BLTaxTableRecord'

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 BLAssociation(PortalContent, PropertyManager):
    """
    A Catalogable record about a generic tag for an account
    """
    meta_type = portal_type = 'BLAssociation'

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLPeriodInfo.py   Products.BastionLedger(Download)
from Products.BastionBanking.ZCurrency import ZCurrency
from BLBase import LargePortalFolder as Folder
from BLBase import PortalContent as SimpleItem
from BLGlobals import EPOCH, ACC_TYPES
from Exceptions import InvalidPeriodError, UnbalancedError
class BLPeriodRec(SimpleItem):
    """
    Stores balances for period-ends, and separately, reporting amounts.  These balances
    are used elsewhere to quickly compute account totals.  The reporting amounts are
    independent of this, and used to collate prior-period reports.

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/FSBLProcess.py   Products.BastionLedger(Download)
from AccessControl.Permissions import view
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
from BLBase import ProductsDictionary, PortalContent
 
from Products.CMFCore.utils import getPackageName

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLAttachmentSupport.py   Products.BastionLedger(Download)
from OFS.Image import Image, File
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
from BLBase import PortalContent, PortalFolder
from Permissions import OperateBastionLedgers, ManageBastionLedgers
from utils import _mime_str, Message
class BLAttachmentSupport(PortalContent):
    """
    allow other extraneous supporting documentation to be attached to an object
    """
    implements(IQuickUploadCapable)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLEntry.py   Products.BastionLedger(Download)
from Products.BastionBanking.Exceptions import UnsupportedCurrency
from utils import floor_date, assert_currency
from BLBase import PortalContent, UUID_ATTR
from BLGlobals import EPOCH
from BLTransaction import BLTransaction
class BLEntry(PropertyManager, PortalContent):
    """
    An account/transaction entry
 
    Once the transaction has been posted, the entry has a date attribute

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/AccountPropertiesTool.py   Products.BastionLedger(Download)
 
from OFS.PropertyManager import PropertyManager
from BLBase import PortalContent
from AccessControl import ClassSecurityInfo
from Products.CMFPlone.PloneBaseTool import PloneBaseTool
class BLAccountsData (PropertyManager, PortalContent):
    """
    A common base class for objects with configurable
    properties in a fixed schema.
    """
class AccountData(PortalContent):
    """
    Synonymous with CMF MemberData container
    """
    _security = ClassSecurityInfo()

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/CMFAccount.py   Products.BastionLedger(Download)
from AccessControl.Permissions import view, view_management_screens
from Acquisition import aq_base, aq_inner
from BLBase import PortalContent
from BLAccount import BLAccount
from Permissions import OperateBastionLedgers
class CMFAccount(PortalContent):
    """
    Wrap a plone skin around a BastionLedger Account
 
    This will probably evolve to include an account property adornment

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLEntryTemplate.py   Products.BastionLedger(Download)
from BLTransaction import BLTransaction
from Permissions import OperateBastionLedgers
from BLBase import PortalContent
 
 
class BLEntryTemplate( PortalContent, PythonScript, PropertyManager ):
    """
    This class provides meta-information to generate a BLEntry.
 
    The underlying PythonScript call function executes this script.