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

All Samples(14)  |  Call(7)  |  Derive(0)  |  Import(7)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLTransaction.py   Products.BastionLedger(Download)
            entry.amount = -abs(entry.amount)
        try:
            manage_addBLEntry(txn, entry.account, entry.amount, entry.title)
        except NameError:
            # doh - more cyclic dependencies ...
            from BLEntry import manage_addBLEntry
            manage_addBLEntry(txn, entry.account, entry.amount, entry.title)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLSubsidiaryTransaction.py   Products.BastionLedger(Download)
        else:
            try:
                manage_addBLEntry(txn, entry.account,entry.amount, entry.title)
            except NameError:
                # doh - more cyclic dependencies ...
                from BLEntry import manage_addBLEntry
                manage_addBLEntry(txn, entry.account,entry.amount, entry.title)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLAccount.py   Products.BastionLedger(Download)
from Products.BastionBanking.interfaces.IPayee import IPayee
from Permissions import OperateBastionLedgers, ManageBastionLedgers
from BLEntry import manage_addBLEntry, BLEntry
from BLTransaction import manage_addBLTransaction
from BLGlobals import EPOCH, MAXDT
    def createEntry(self, txn, amount, title=''):
        """ transparently create a transaction entry"""
        manage_addBLEntry(txn, self, amount, title)
 
    def manage_payAccount(self, amount, reference='', other_account=None, REQUEST=None):

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLAssetRegister.py   Products.BastionLedger(Download)
from AccessControl.Permissions import view
from Permissions import OperateBastionLedgers, ManageBastionLedgers
from BLEntry import manage_addBLEntry
from Exceptions import InvalidPeriodError, DepreciationError
from utils import floor_date, ceiling_date
            txn = ledger.createTransaction(title=description,
                                           effective=max(date_range))  # beware to keep this the same as other EOP dates
            manage_addBLEntry(txn, ledger.accountValues(tags='dep_exp')[0], depreciation_amount)
            manage_addBLEntry(txn, ledger.accountValues(tags='accum_dep')[0], -depreciation_amount)
            txn.manage_post()

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLTransactionTemplate.py   Products.BastionLedger(Download)
from BLTransaction import BLTransaction
from BLEntryTemplate import BLEntryTemplate
from BLEntry import manage_addBLEntry, BLEntry
from BLSubsidiaryEntry import manage_addBLSubsidiaryEntry
from BLSubsidiaryLedger import BLSubsidiaryLedger

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/Ledger.py   Products.BastionLedger(Download)
from BLPeriodInfo import BLLedgerPeriodsFolder
from BLTransaction import manage_addBLTransaction
from BLEntry import manage_addBLEntry
from BLGlobals import EPOCH
from utils import ceiling_date, floor_date

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLOrderBook.py   Products.BastionLedger(Download)
from BLAccount import BLAccounts, date_field_cmp, addBLAccount
from BLSubsidiaryLedger import BLSubsidiaryLedger
from BLEntry import manage_addBLEntry
from BLSubsidiaryEntry import manage_addBLSubsidiaryEntry
from BLInventory import BLInventory