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

All Samples(9)  |  Call(5)  |  Derive(0)  |  Import(4)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLSubsidiaryLedger.py   Products.BastionLedger(Download)
from BLBase import *
from BLLedger import LedgerBase
from BLAccount import addBLAccount
from BLSubsidiaryTransaction import manage_addBLSubsidiaryTransaction
from BLControlEntry import BLControlEntry
    """
    gl = self.Ledger
    control = addBLAccount(gl, title='Control Account: %s' % title) # get next accno
 
    ledger = manage_addBLSubsidiaryLedger(self, id, (control,), gl.currencies, title)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLOrderBook.py   Products.BastionLedger(Download)
from utils import floor_date, ceiling_date, assert_currency
from BLBase import *
from BLAccount import BLAccounts, date_field_cmp, addBLAccount
from BLSubsidiaryLedger import BLSubsidiaryLedger
from BLEntry import manage_addBLEntry
    """
    inventory_id = self.bastionLedger().objectIds('BLInventory')[0]
    control = addBLAccount(self.Ledger, id, title)
    self.manage_addBLOrderBook(id, control, inventory_id, 'Q', title)
    return id
        control = self.Ledger.accountValues(tags='bank_account')[0].getId()
    except:
        control = addBLAccount(self.Ledger, id, title)
    return self.manage_addBLCashBook(id, control, inventory_id, 'C', title)
 

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLShareholderLedger.py   Products.BastionLedger(Download)
from BLTransactionTemplate import BLTransactionTemplate
from BLSubsidiaryAccount import BLSubsidiaryAccount
from BLAccount import BLAccount, addBLAccount
from BLProcess import BLProcess
from Permissions import OperateBastionLedgers, ManageBastionLedgers
def addBLShareholderLedger(self, id, title='', REQUEST=None):
    """
    Plone Add
    """
    control = addBLAccount(self.Ledger, id, title)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLPayroll.py   Products.BastionLedger(Download)
from Permissions import ManageBastionLedgers, OperateBastionLedgers, setDefaultRoles
from Products.CMFCore import permissions
from BLAccount import BLAccounts, addBLAccount
from Exceptions import UnexpectedTransaction
 
def addBLPayroll(self, id, title='', REQUEST=None):
    """
    Plone Add
    """
    control = addBLAccount(self.Ledger, id, title)