[Erp5-report] ERP5 r34162 : 3416 Tests, 25 Errors, 31 Failures, 40 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 26 20:26:36 CET 2010


Test Suite: ERP5
Revision: 34162
Result: FAIL

All tests: 3416
Failures: 31
Errors: 25
Skips: 40


The following tests failed:

  testAccounting                                     (2 failures, 17 errors)
   test_AccountingPeriodOtherSections (testAccounting.TestAccountingWithSequences), Accounting Periods does not change other section transactions.
   test_AccountingPeriodWorkflow (testAccounting.TestClosingPeriod), Tests that accounting_period_workflow creates a balance transaction.
   test_BalanceTransactionDate (testAccounting.TestClosingPeriod)
   test_BalanceTransactionDateInInventoryAPI (testAccounting.TestClosingPeriod)
   test_BalanceTransactionLineBrainGetObject (testAccounting.TestClosingPeriod)
   test_BalanceTransactionLineInventoryAPIParentPortalType (testAccounting.TestClosingPeriod)
   test_IndexingBalanceTransactionLinesWithSameNodes (testAccounting.TestClosingPeriod)
   test_InventoryIndexingNodeAndMirrorSection (testAccounting.TestClosingPeriod)
   test_InventoryIndexingNodeDiffOnNode (testAccounting.TestClosingPeriod)
   test_MultipleSection (testAccounting.TestClosingPeriod)
   test_ProfitAndLossUsedInPeriod (testAccounting.TestClosingPeriod), When the profit and loss account has a non zero balance at the end of
   test_SecondAccountingPeriod (testAccounting.TestClosingPeriod), Tests having two accounting periods.
   test_createBalanceOnMirrorSection (testAccounting.TestClosingPeriod)
   test_createBalanceOnMirrorSectionMultiCurrency (testAccounting.TestClosingPeriod)
   test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection (testAccounting.TestClosingPeriod)
   test_createBalanceOnNode (testAccounting.TestClosingPeriod)
   test_createBalanceOnPayment (testAccounting.TestClosingPeriod)
   test_AccountingTransaction_getTotalDebitCredit (testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDifferentSide (testAccounting.TestTransactions)

  testAccountingReports                              (2 errors)
   testJournalTransactionsWithoutThirdParty (testAccountingReports.TestAccountingReports)
   testTrialBalancePreviousPeriod (testAccountingReports.TestAccountingReports)

  testDeferredStyle                                  (1 errors)
   test_normal_form (testDeferredStyle.TestODTDeferredStyle)

  testERP5Simulation                                 (5 failures, 1 skips)
   test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
   test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
   test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)

  testFormPrintoutAsODT                              (1 failures, 1 skips)
   test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: make sure that it is enable to use ODF cell format setting in FormPrintout

  testICal                                           (1 failures)
   test_01_renderEvent (testICal.TestICal)

  testOOoStyle                                       (6 failures)
   test_form_view_embedded_image (testOOoStyle.TestODTStyle)
   test_form_view_empty_listbox (testOOoStyle.TestODTStyle)
   test_form_view_encoding (testOOoStyle.TestODTStyle)
   test_form_view_format (testOOoStyle.TestODTStyle)
   test_form_view_non_empty_listbox (testOOoStyle.TestODTStyle)
   test_textarea_center_group (testOOoStyle.TestODTStyle)

  testOOoStyleWithFlare                              (6 failures)
   test_form_view_embedded_image (testOOoStyleWithFlare.TestODTStyle)
   test_form_view_empty_listbox (testOOoStyleWithFlare.TestODTStyle)
   test_form_view_encoding (testOOoStyleWithFlare.TestODTStyle)
   test_form_view_format (testOOoStyleWithFlare.TestODTStyle)
   test_form_view_non_empty_listbox (testOOoStyleWithFlare.TestODTStyle)
   test_textarea_center_group (testOOoStyleWithFlare.TestODTStyle)

  testOpenOrder                                      (2 failures)
   testOpenOrderRule (testOpenOrder.TestOpenOrder)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testPayroll                                        (4 errors)
   test_AccountingLineGeneration (testPayroll.TestPayroll)
   test_NetSalaryReport (testPayroll.TestPayroll)
   test_PayrollTaxesReport (testPayroll.TestPayroll)
   test_PayrollTaxesReportDifferentSalaryRange (testPayroll.TestPayroll)

  testPayroll_l10n_fr                                (1 errors)
   test_01_getYearToDateSlice (testPayroll_l10n_fr.TestPayroll_l10n_fr), Check that is possible to calculate the total amount spend on a slice

  testProxyField                                     (1 failures)
   testSkinSelectionTemplateField (testProxyField.TestProxyField)

  testSerializeForm                                  (1 failures)
   test checking if the field values are of the proper type.

  testTemplate                                       (2 failures)
   test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
   test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithTargetLevelSetting (testTradeModelLine.TestTradeModelLineSale)

  testXHTML                                          (3 failures, 1 skips)
   test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
   test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
   test_listActionInListbox (testXHTML.TestXHTML)

The following tests were at least partly skipped:

  testBase                                           (3 skips)

  testBusinessTemplate                               (2 skips)

  testDms                                            (1 skips)

  testDmsWithFlare                                   (1 skips)

  testERP5Catalog                                    (4 skips)

  testERP5Interfaces                                 (13 skips)

  testERP5Simulation                                 (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testFormPrintoutAsODT                              (1 skips)

  testMRP                                            (4 skips)

  testSQLCachedWorklist                              (1 skips)

  testSelectionTool                                  (7 skips)

  testXHTML                                          (1 skips)

The following tests have an unknown status:
'Products/ERP5Type/tests/runUnitTest.py' '--erp5_sql_connection_string' 'test5 test' 'testKMGadget'
-------------- next part --------------

ERROR: test_AccountingPeriodOtherSections (testAccounting.TestAccountingWithSequences), Accounting Periods does not change other section transactions.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3911, in test_AccountingPeriodOtherSections
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2882, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateCurrencies
      CreateEntities
      CreateAccounts
      CreateAccountingPeriod
      OpenAccountingPeriod
      Tic
      CreateOtherSectionInvoices
      Tic
      ConfirmAccountingPeriod
      Tic
    > DeliverAccountingPeriod
      Tic
      CheckAccountingPeriodDelivered
      CheckInvoicesAreDraft
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3056, in stepDeliverAccountingPeriod
    profit_and_loss_account=profit_and_loss_account.getRelativeUrl())
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
    script()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in createBalanceTransaction
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_AccountingPeriodWorkflow (testAccounting.TestClosingPeriod), Tests that accounting_period_workflow creates a balance transaction.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1483, in test_AccountingPeriodWorkflow
    profit_and_loss_account=pl_account.getRelativeUrl())
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
    script()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in createBalanceTransaction
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_BalanceTransactionDate (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1927, in test_BalanceTransactionDate
    balance.stop()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_BalanceTransactionDateInInventoryAPI (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1981, in test_BalanceTransactionDateInInventoryAPI
    balance.stop()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_BalanceTransactionLineBrainGetObject (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1871, in test_BalanceTransactionLineBrainGetObject
    balance.stop()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_BalanceTransactionLineInventoryAPIParentPortalType (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2019, in test_BalanceTransactionLineInventoryAPIParentPortalType
    balance.stop()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_IndexingBalanceTransactionLinesWithSameNodes (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1834, in test_IndexingBalanceTransactionLinesWithSameNodes
    balance.stop()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_InventoryIndexingNodeAndMirrorSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1736, in test_InventoryIndexingNodeAndMirrorSection
    balance.stop()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_InventoryIndexingNodeDiffOnNode (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1795, in test_InventoryIndexingNodeDiffOnNode
    balance.stop()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_MultipleSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1546, in test_MultipleSection
    period.AccountingPeriod_createBalanceTransaction(
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_ProfitAndLossUsedInPeriod (testAccounting.TestClosingPeriod), When the profit and loss account has a non zero balance at the end of
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1688, in test_ProfitAndLossUsedInPeriod
    period.AccountingPeriod_createBalanceTransaction(
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_SecondAccountingPeriod (testAccounting.TestClosingPeriod), Tests having two accounting periods.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1595, in test_SecondAccountingPeriod
    profit_and_loss_account=pl_account.getRelativeUrl())
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
    script()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in createBalanceTransaction
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_createBalanceOnMirrorSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 963, in test_createBalanceOnMirrorSection
    period.AccountingPeriod_createBalanceTransaction(
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_createBalanceOnMirrorSectionMultiCurrency (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1197, in test_createBalanceOnMirrorSectionMultiCurrency
    period.AccountingPeriod_createBalanceTransaction(
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1350, in test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection
    period.AccountingPeriod_createBalanceTransaction(
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_createBalanceOnNode (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 871, in test_createBalanceOnNode
    period.AccountingPeriod_createBalanceTransaction(
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_createBalanceOnPayment (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1072, in test_createBalanceOnPayment
    period.AccountingPeriod_createBalanceTransaction(
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 209, in AccountingPeriod_createBalanceTransaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


FAIL: test_AccountingTransaction_getTotalDebitCredit (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2775, in test_AccountingTransaction_getTotalDebitCredit
    self.assertFalse(accounting_transaction.AccountingTransaction_isSourceView())
AssertionError


FAIL: test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDifferentSide (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2387, in test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDifferentSide
    self._checkRelatedSalePayment(invoice, payment, payment_node, 80)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2258, in _checkRelatedSalePayment
    eq(quantity, line.getSourceCredit())
AssertionError: 80 != 100.0


ERROR: testJournalTransactionsWithoutThirdParty (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testAccountingReports.py", line 311, in testJournalTransactionsWithoutThirdParty
    destination_credit=100.00)))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/utils.py", line 265, in __call__
    ret = self._func(self._instance, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testAccounting.py", line 151, in _makeOne
    tr.stop()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: testTrialBalancePreviousPeriod (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testAccountingReports.py", line 1927, in testTrialBalancePreviousPeriod
    destination_debit=200)))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/utils.py", line 265, in __call__
    ret = self._func(self._instance, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testAccounting.py", line 151, in _makeOne
    tr.stop()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 9, in guessGroupingReference
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 46, in AccountingTransaction_guessGroupedLines
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in AccountingTransaction_isSourceView
AttributeError: 'NoneType' object has no attribute 'getPortalType'


ERROR: test_normal_form (testDeferredStyle.TestODTDeferredStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testDeferredStyle.py", line 133, in test_normal_form
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 747, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers', 'getTitle', -1, 0), ('/erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers', 'Base_renderSimpleView', -2, 5)] 
Last error message:
TypeError
list objects are unhashable
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 295, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 10, in Base_renderSimpleView
   - <PythonScript at /erp5_portal_61705a10593647a374d5102fc3f301e7/Base_renderSimpleView used for /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers>
   - Line 10
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5Form.Form, line 638, in __call__
  Module Products.ERP5OOo.OOoTemplate, line 495, in pt_render
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   - <OOoTemplate at /erp5_portal_61705a10593647a374d5102fc3f301e7/form_view used for /erp5_portal_61705a10593647a374d5102fc3f301e7/Person_view>
  Module TAL.TALInterpreter, line 206, in __call__
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 690, in do_defineMacro
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 653, in do_loop_tal
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 677, in do_condition
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 653, in do_loop_tal
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 677, in do_condition
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 677, in do_condition
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 609, in do_insertStructure_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: /erp5_portal_61705a10593647a374d5102fc3f301e7/form_view
   - Expression: <PythonExpr field.render_odt(REQUEST=request, attr_dict={'{urn:oasis:names:tc:opendocument:xmlns:text:1.0}style-name': 'field-content'})>
   - Names:
      {'container': <Folder at /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module>,
       'context': <ERP5Form at /erp5_portal_61705a10593647a374d5102fc3f301e7/Person_view used for /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x2b38e5ae5fc8>,
       'form': <ERP5Form at /erp5_portal_61705a10593647a374d5102fc3f301e7/Person_view used for /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers>,
       'here': <Person at /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers>,
       'key_prefix': None,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x8477c68>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x2b38e5aeb998>,
       'nothing': None,
       'ooo_builder': <Products.ERP5OOo.OOoUtils.OOoBuilder object at 0x8595550>,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x8477c68>,
       'request': <HTTPRequest, URL=http://127.0.0.1:55161>,
       'root': <Application at >,
       'template': <ERP5Form at /erp5_portal_61705a10593647a374d5102fc3f301e7/Person_view used for /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers>}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__: field.render_odt(REQUEST=request, attr_dict={'{urn:oasis:names:tc:opendocument:xmlns:text:1.0}style-name': 'field-content'})
  Module Python expression "field.render_odt(REQUEST=request, attr_dict={'{urn:oasis:names:tc:opendocument:xmlns:text:1.0}style-name': 'field-content'})", line 1, in <expression>
  Module Products.Formulator.Field, line 316, in render_odt
  Module Products.Formulator.Field, line 218, in _render_odt_helper
   - __traceback_info__: key=field_my_career_role_list value=[]
  Module Products.ERP5Form.ProxyField, line 82, in __call__
  Module Products.ERP5Form.ParallelListField, line 172, in render_odt_view
  Module Products.Formulator.Widget, line 807, in render_odt_view
TypeError: list objects are unhashable




FAIL: test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1011, in test_03_PackingListChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ChangePackingListStartDate
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      UnifyStartDateWithDecision
      Tic
      CheckPackingListIsSolved
      CheckPackingListIsNotDivergent
    > CheckSimulationStartDateUpdated
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 433, in stepCheckSimulationStartDateUpdated
    self.assertEquals(simulation_movement.getStartDate(),self.datetime + 15)
AssertionError: DateTime('2010/04/05 12:39:57.342 GMT-4') != DateTime('2010/04/10 12:39:57.342 GMT-4')


FAIL: test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1189, in test_06_SimulationChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/04/05 12:39:57.342 GMT-4') != DateTime('2010/04/10 12:39:57.342 GMT-4')


FAIL: test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1210, in test_07_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/04/05 12:39:57.342 GMT-4') != DateTime('2010/04/10 12:39:57.342 GMT-4')


FAIL: test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1231, in test_07a_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifyOneSimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/04/05 12:39:57.342 GMT-4') != DateTime('2010/04/10 12:39:57.342 GMT-4')


FAIL: test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2832, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 116, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
    > CheckPackingListIsDivergent
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 189, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError


FAIL: test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: make sure that it is enable to use ODF cell format setting in FormPrintout
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 633, in test_02_Table_07_CellFormat
    self.assertEqual(date_column.attrib[date_value_attrib], '2009-04-20')
AssertionError: '2009-04-19' != '2009-04-20'


FAIL: test_01_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testICal.py", line 151, in test_01_renderEvent
    self.assertEquals( # if this fail for you, try to set $TZ to Europe/Paris
AssertionError: '20070815T143000Z' != '20070815T083000Z'

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test' loaded ... 
Traceback (most recent call last):
  File "Products/ERP5Type/tests/runUnitTest.py", line 610, in ?
    main()
  File "Products/ERP5Type/tests/runUnitTest.py", line 593, in main
    debug=debug)
  File "Products/ERP5Type/tests/runUnitTest.py", line 451, in runUnitTestList
    suite = test_loader.loadTestsFromNames(test_list)
  File "/usr/lib64/python2.4/unittest.py", line 556, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "Products/ERP5Type/tests/runUnitTest.py", line 249, in loadTestsFromName
    return unittest.TestLoader.loadTestsFromName(self, name, module)
  File "/usr/lib64/python2.4/unittest.py", line 524, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/bt5/erp5_km/TestTemplateItem/testKMGadget.py", line 35, in ?
    import simplejson as json
ImportError: No module named simplejson

FAIL: test_form_view_embedded_image (testOOoStyle.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 230, in test_form_view_embedded_image
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_form_view_empty_listbox (testOOoStyle.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 151, in test_form_view_empty_listbox
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_form_view_encoding (testOOoStyle.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 219, in test_form_view_encoding
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_form_view_format (testOOoStyle.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 175, in test_form_view_format
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_form_view_non_empty_listbox (testOOoStyle.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 163, in test_form_view_non_empty_listbox
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_textarea_center_group (testOOoStyle.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 302, in test_textarea_center_group
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_form_view_embedded_image (testOOoStyleWithFlare.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 230, in test_form_view_embedded_image
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_form_view_empty_listbox (testOOoStyleWithFlare.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 151, in test_form_view_empty_listbox
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_form_view_encoding (testOOoStyleWithFlare.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 219, in test_form_view_encoding
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_form_view_format (testOOoStyleWithFlare.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 175, in test_form_view_format
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_form_view_non_empty_listbox (testOOoStyleWithFlare.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 163, in test_form_view_non_empty_listbox
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_textarea_center_group (testOOoStyleWithFlare.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 302, in test_textarea_center_group
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 303, in testOpenOrderRule
    [(DateTime(3000,2,10,10,0), DateTime(3000,2,11,10,0)),
AssertionError: [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 US/Eastern'), DateTime('3000/03/11 10:00:00 US/Eastern'))] != [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 GMT-4'), DateTime('3000/03/11 10:00:00 GMT-4'))]


FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 185, in testPeriodicityDateList
    [(D(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 US/Eastern'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 US/Eastern'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 US/Eastern'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 US/Eastern'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 US/Eastern'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 US/Eastern'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 US/Eastern'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 US/Eastern'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT-4'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT-4'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT-4'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT-4'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT-4'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT-4'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT-4'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT-4'), DateTime('2008/11/30'))]


ERROR: test_AccountingLineGeneration (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testPayroll.py", line 3175, in test_AccountingLineGeneration
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1104, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 747, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_0151b90952d6b37c56499729ec9bc6d1/accounting_module/1', 'Delivery_updateAppliedRule', -2, 5)] 
Last error message:
ValueError
No such rule as 'default_invoice_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 295, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 45, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_0151b90952d6b37c56499729ec9bc6d1/Delivery_updateAppliedRule used for /erp5_portal_0151b90952d6b37c56499729ec9bc6d1/accounting_module/1>
   - Line 45
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 726, in updateAppliedRule
ValueError: No such rule as 'default_invoice_rule' is found




ERROR: test_NetSalaryReport (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testPayroll.py", line 2903, in test_NetSalaryReport
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1104, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 747, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_0151b90952d6b37c56499729ec9bc6d1/accounting_module/2', 'Delivery_updateAppliedRule', -2, 5)] 
Last error message:
ValueError
No such rule as 'default_invoice_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 295, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 45, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_0151b90952d6b37c56499729ec9bc6d1/Delivery_updateAppliedRule used for /erp5_portal_0151b90952d6b37c56499729ec9bc6d1/accounting_module/2>
   - Line 45
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 726, in updateAppliedRule
ValueError: No such rule as 'default_invoice_rule' is found




ERROR: test_PayrollTaxesReport (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testPayroll.py", line 2508, in test_PayrollTaxesReport
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1104, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 747, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_0151b90952d6b37c56499729ec9bc6d1/accounting_module/5', 'Delivery_updateAppliedRule', -2, 5)] 
Last error message:
ValueError
No such rule as 'default_invoice_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 295, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 45, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_0151b90952d6b37c56499729ec9bc6d1/Delivery_updateAppliedRule used for /erp5_portal_0151b90952d6b37c56499729ec9bc6d1/accounting_module/5>
   - Line 45
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 726, in updateAppliedRule
ValueError: No such rule as 'default_invoice_rule' is found




ERROR: test_PayrollTaxesReportDifferentSalaryRange (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testPayroll.py", line 2706, in test_PayrollTaxesReportDifferentSalaryRange
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1104, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 747, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_0151b90952d6b37c56499729ec9bc6d1/accounting_module/7', 'Delivery_updateAppliedRule', -2, 5)] 
Last error message:
ValueError
No such rule as 'default_invoice_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 295, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 45, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_0151b90952d6b37c56499729ec9bc6d1/Delivery_updateAppliedRule used for /erp5_portal_0151b90952d6b37c56499729ec9bc6d1/accounting_module/7>
   - Line 45
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 726, in updateAppliedRule
ValueError: No such rule as 'default_invoice_rule' is found




ERROR: test_01_getYearToDateSlice (testPayroll_l10n_fr.TestPayroll_l10n_fr), Check that is possible to calculate the total amount spend on a slice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 118, in test_01_getYearToDateSlice
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateModelWithSlices
      SetCurrencyOnModel
      ModelCreateUrssafModelLineWithSlices
      UrssafModelLineWithSlicesCreateMovements
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
    > CheckYearToDateSliceAmount
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 80, in stepCheckYearToDateSliceAmount
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1104, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 747, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_756c357112d36e1c818145009fbf6fa4/accounting_module/1', 'Delivery_updateAppliedRule', -2, 5), ('/erp5_portal_756c357112d36e1c818145009fbf6fa4/accounting_module/2', 'Delivery_updateAppliedRule', -2, 5)] 
Last error message:
ValueError
No such rule as 'default_invoice_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 295, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 45, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_756c357112d36e1c818145009fbf6fa4/Delivery_updateAppliedRule used for /erp5_portal_756c357112d36e1c818145009fbf6fa4/accounting_module/1>
   - Line 45
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 726, in updateAppliedRule
ValueError: No such rule as 'default_invoice_rule' is found




FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Form/tests/testProxyField.py", line 199, in testSkinSelectionTemplateField
    self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'


FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
    self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}


FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
    self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1


FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
    self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2


FAIL: test_tradeModelLineWithTargetLevelSetting (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2612, in test_tradeModelLineWithTargetLevelSetting
    self.assertEqual(8, len(amount_list))
AssertionError: 8 != 7


FAIL: test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testXHTML.py", line 436, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 539 column 43 : there is no attribute "class"
Error: line 539 column 63 : there is no attribute "style"
Error: line 539 column 105 : there is no attribute "src"
Error: line 539 column 222 : there is no attribute "onload"
Error: line 539 column 244 : element "iframe" undefined


FAIL: test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testXHTML.py", line 436, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 539 column 43 : there is no attribute "class"
Error: line 539 column 63 : there is no attribute "style"
Error: line 539 column 105 : there is no attribute "src"
Error: line 539 column 222 : there is no attribute "onload"
Error: line 539 column 244 : element "iframe" undefined


FAIL: test_listActionInListbox (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testXHTML.py", line 265, in test_listActionInListbox
    self.assertEquals(error_list, [])
AssertionError: [('erp5_pdm/Resource_viewTransformedResourceInventory/listbox', 'Resource_viewTransformedResource'), ('erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox', 'WebSite_viewLatestAdditionList'), ('erp5_gadget/ERP5Site_viewPersonListGadget/listbox', 'person_module/view'), ('erp5_gadget/ERP5Site_viewRssGadget/listbox', 'Rss Link Error')] != []


More information about the Erp5-report mailing list