コード例 #1
0
 def afterSetUp(self):
   AccountingTestCase.afterSetUp(self)
   self.bank_account = self.section.newContent(
       portal_type='Bank Account',
       price_currency_value=self.portal.currency_module.euro)
   self.bank_account.validate()
   self.tic()
コード例 #2
0
 def afterSetUp(self):
   AccountingTestCase.afterSetUp(self)
   self.bank_account = self.section.newContent(
       portal_type='Bank Account',
       price_currency_value=self.portal.currency_module.euro)
   self.bank_account.validate()
   self.tic()
コード例 #3
0
 def afterSetUp(self):
   AccountingTestCase.afterSetUp(self)
   # set a french gap on test accounts
   account_module = self.portal.account_module
   account_module.payable.setGap('fr/pcg/4/40/401')
   account_module.refundable_vat.setGap('fr/pcg/4/44/445/4456')
   account_module.goods_purchase.setGap('fr/pcg/6/60/606/6063')
   account_module.receivable.setGap('fr/pcg/4/41/411')
   account_module.goods_sales.setGap('fr/pcg/7/70/706')
   account_module.collected_vat.setGap('fr/pcg/4/44/445/4457/44571')
   account_module.bank.setGap('fr/pcg/5/51/512')
   # and set french gap as preferred
   preference = self.portal.portal_preferences.getActivePreference()
   preference.edit(
     preferred_accounting_transaction_gap='gap/fr/pcg')
コード例 #4
0
 def getBusinessTemplateList(self):
   return AccountingTestCase.getBusinessTemplateList(self) + (
       'erp5_deferred_style',
       'erp5_accounting_l10n_fr', )
コード例 #5
0
 def getBusinessTemplateList(self):
   return AccountingTestCase.getBusinessTemplateList(self) + (
       'erp5_bank_reconciliation',)
コード例 #6
0
 def getBusinessTemplateList(self):
   return AccountingTestCase.getBusinessTemplateList(self) + (
       'erp5_bank_reconciliation',)