[Erp5-report] ERP5_simulation r45326 : 238 Tests, 102 Errors, 12 Failures, 4 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 12 18:07:19 CEST 2011


Test Suite: ERP5_simulation
Revision: None
Result: FAIL

All tests: 238
Failures: 12
Errors: 102
Skips: 4



The following tests failed:

  testAccountingRules                                (22 errors)
   test_04_SimpleInvoice (testAccountingRules.TestSaleAccountingRules), Simple Invoice.
   test_04b_SimpleInvoiceConfirm (testAccountingRules.TestSaleAccountingRules), Same test as SimpleInvoice but directly confirm the invoice
   test_04c_SimpleInvoiceTwoLines (testAccountingRules.TestSaleAccountingRules), Simple Invoice, 2 lines.
   test_04d_SimpleInvoiceTwoCells (testAccountingRules.TestSaleAccountingRules), Simple Invoice, 2 cells.
   test_05a_SimpleInvoiceReExpandAddLine (testAccountingRules.TestSaleAccountingRules), Add a new line then updateAppliedRule.
   test_05b_SimpleInvoiceReExpandEditLine (testAccountingRules.TestSaleAccountingRules), Tests that editing a line updates simulation correctly
   test_05c_SimpleInvoiceReExpandDeleteLine (testAccountingRules.TestSaleAccountingRules), Tests that removing a line updates simulation correctly
   test_05d_SimpleInvoiceReExpandCreateCell (testAccountingRules.TestSaleAccountingRules), Tests that replacing a line by cells updates simulation correctly
   test_05e_SimpleInvoiceExpandManyTimes (testAccountingRules.TestSaleAccountingRules), Tests that updating an applied rule many times doesn't break the
   test_06_MultiLineInvoice (testAccountingRules.TestSaleAccountingRules), Multiple lines invoice.
   test_planning_invoice_creates_simulation (testAccountingRules.TestSaleAccountingRules)
   test_04_SimpleInvoice (testAccountingRules.TestPurchaseAccountingRules), Simple Invoice.
   test_04b_SimpleInvoiceConfirm (testAccountingRules.TestPurchaseAccountingRules), Same test as SimpleInvoice but directly confirm the invoice
   test_04c_SimpleInvoiceTwoLines (testAccountingRules.TestPurchaseAccountingRules), Simple Invoice, 2 lines.
   test_04d_SimpleInvoiceTwoCells (testAccountingRules.TestPurchaseAccountingRules), Simple Invoice, 2 cells.
   test_05a_SimpleInvoiceReExpandAddLine (testAccountingRules.TestPurchaseAccountingRules), Add a new line then updateAppliedRule.
   test_05b_SimpleInvoiceReExpandEditLine (testAccountingRules.TestPurchaseAccountingRules), Tests that editing a line updates simulation correctly
   test_05c_SimpleInvoiceReExpandDeleteLine (testAccountingRules.TestPurchaseAccountingRules), Tests that removing a line updates simulation correctly
   test_05d_SimpleInvoiceReExpandCreateCell (testAccountingRules.TestPurchaseAccountingRules), Tests that replacing a line by cells updates simulation correctly
   test_05e_SimpleInvoiceExpandManyTimes (testAccountingRules.TestPurchaseAccountingRules), Tests that updating an applied rule many times doesn't break the
   test_06_MultiLineInvoice (testAccountingRules.TestPurchaseAccountingRules), Multiple lines invoice.
   test_planning_invoice_creates_simulation (testAccountingRules.TestPurchaseAccountingRules)

  testAdvancedInvoicing                              (1 failures, 3 errors)
   test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
   test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Adopt quantity with stopped packing list
   test_04_InvoiceChangeStartDateFail (testAdvancedInvoicing.TestAdvancedSaleInvoice)

  testBPMEvaluation                                  (40 errors)
   test_confirming (testBPMEvaluation.TestOrderDefaultProcess)
   test_starting (testBPMEvaluation.TestPackingListDefaultProcess)
   test_confirming (testBPMEvaluation.TestOrderDifferentProcess)
   test_starting (testBPMEvaluation.TestPackingListDifferentProcess)

  testDeliveryBuilderToSupportMultipleLines          (1 failures)
   test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)

  testICal                                           (1 errors)
   test_02_renderTask (testICal.TestICal)

  testImmobilisation                                 (2 failures)
   test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
   test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)

  testInvoice                                        (6 failures, 1 errors)
   test_07_InvoiceAddPackingListLine (testInvoice.TestSaleInvoice)
   test_09_InvoiceChangeStartDateFail (testInvoice.TestSaleInvoice)
   test_09b_InvoiceChangeStartDateSucceed (testInvoice.TestSaleInvoice)
   test_modify_planned_order_invoice_transaction_rule (testInvoice.TestSaleInvoice)
   test_modify_planned_order_invoicing_rule (testInvoice.TestSaleInvoice)
   test_modify_planned_order_invoice_transaction_rule (testInvoice.TestPurchaseInvoice)
   test_modify_planned_order_invoicing_rule (testInvoice.TestPurchaseInvoice)

  testItem                                           (2 failures, 11 errors)
   test_06_VerifyHavingSameItemTwiceOnMovementCausesNoBug (testItem.TestItem)
   test_12_CreteSameResourceDifferentItemOrderLines (testItem.TestItem)
   test_select_item_dialog_variation (testItem.TestItem)
   test_Item_getCurrentOwnerTitle (testItem.TestItemScripts)
   test_Item_getCurrentOwnerValue (testItem.TestItemScripts)
   test_Item_getCurrentSiteTitle (testItem.TestItemScripts)
   test_Item_getCurrentSiteValue (testItem.TestItemScripts)
   test_Item_getResourceTitle (testItem.TestItemScripts)
   test_Item_getResourceValue (testItem.TestItemScripts)
   test_Item_getVariationCategoryList (testItem.TestItemScripts)
   test_Item_getVariationRangeCategoryItemList (testItem.TestItemScripts)
   test_09_ChangeOrderDateAndAcceptOnPackingList (testItem.TestItem)
   test_13_CreateSameResourceDiffrentItemOrderLinesThenChangeTheOrderLinesDate (testItem.TestItem)

  testMRP                                            (1 errors, 4 skips)
   test_TransformationRule_expand (testMRP.TestMRPImplementation)

  testOrderBuilder                                   (4 errors)
   test_01_simpleOrderBuilder (testOrderBuilder.TestOrderBuilder)
   test_01a_simpleOrderBuilderVariatedResource (testOrderBuilder.TestOrderBuilder)
   test_02_maxDelayResourceOrderBuilder (testOrderBuilder.TestOrderBuilder)
   test_03_minFlowResourceOrderBuilder (testOrderBuilder.TestOrderBuilder)

  testProductionOrder                                (8 errors)
   test_01_testProductionSimulationExpand (testProductionOrder.TestProductionOrder)
   test_02_testSourcingSimulationExpand (testProductionOrder.TestProductionOrder)
   test_03_testIndustrialPhase (testProductionOrder.TestProductionOrder)
   test_04_testProductionSimulationBuild (testProductionOrder.TestProductionOrder)
   test_05_testSourcingSimulationBuild (testProductionOrder.TestProductionOrder)
   test_06_testIndustrialPhase (testProductionOrder.TestProductionOrder)
   test_08_testTransformationWithEfficiency (testProductionOrder.TestProductionOrder)
   test_09_testTransformationWithVariation (testProductionOrder.TestProductionOrder)

  testProductionOrderApparel                         (6 errors)
   test_01_testProductionSimulationExpand (testProductionOrderApparel.TestProductionOrderApparel)
   test_02_testSourcingSimulationExpand (testProductionOrderApparel.TestProductionOrderApparel)
   test_03_testIndustrialPhase (testProductionOrderApparel.TestProductionOrderApparel)
   test_04_testProductionSimulationBuild (testProductionOrderApparel.TestProductionOrderApparel)
   test_05_testSourcingSimulationBuild (testProductionOrderApparel.TestProductionOrderApparel)
   test_06_testIndustrialPhase (testProductionOrderApparel.TestProductionOrderApparel)

  testProductionPackingList                          (1 errors)
   test_01_sourcingDelivery (testProductionPackingList.TestProductionDelivery)

  testProject                                        (1 errors)
   testProject_getSourceProjectRelatedTaskReportList (testProject.TestProject)

  testReturnedSalePackingList                        (3 errors)
   test_01_ReturnedSalePackingListWithInventory (testReturnedSalePackingList.TestReturnedSalePackingList)
   test_02_ReturnedSalePackingListWorkflow (testReturnedSalePackingList.TestReturnedSalePackingList)
   test_03_ReturnedSalePackingListWorkflowFail (testReturnedSalePackingList.TestReturnedSalePackingList)

The following tests were at least partly skipped:

  testMRP                                            (4 skips)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 904 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110412/2072995a/attachment-0001.diff>
-------------- next part --------------

ERROR: test_04_SimpleInvoice (testAccountingRules.TestSaleAccountingRules), Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1660, in test_04_SimpleInvoice
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      PlanInvoice
      Tic
      CheckFirstRuleIsApplied
      CheckPaymentRuleIsApplied
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCoherantWithSimulation
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_04b_SimpleInvoiceConfirm (testAccountingRules.TestSaleAccountingRules), Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1700, in test_04b_SimpleInvoiceConfirm
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_04c_SimpleInvoiceTwoLines (testAccountingRules.TestSaleAccountingRules), Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1738, in test_04c_SimpleInvoiceTwoLines
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoiceTwoLines
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_04d_SimpleInvoiceTwoCells (testAccountingRules.TestSaleAccountingRules), Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1776, in test_04d_SimpleInvoiceTwoCells
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoiceTwoCells
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05a_SimpleInvoiceReExpandAddLine (testAccountingRules.TestSaleAccountingRules), Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1817, in test_05a_SimpleInvoiceReExpandAddLine
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateEmptyInvoice
      PlanInvoice
      Tic
      AddInvoiceLine
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05b_SimpleInvoiceReExpandEditLine (testAccountingRules.TestSaleAccountingRules), Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1856, in test_05b_SimpleInvoiceReExpandEditLine
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateOtherSimpleInvoice
      PlanInvoice
      Tic
      EditInvoiceLine
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05c_SimpleInvoiceReExpandDeleteLine (testAccountingRules.TestSaleAccountingRules), Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1895, in test_05c_SimpleInvoiceReExpandDeleteLine
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      AddInvoiceLine
      PlanInvoice
      Tic
      DeleteInvoiceLine
      Tic
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05d_SimpleInvoiceReExpandCreateCell (testAccountingRules.TestSaleAccountingRules), Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1936, in test_05d_SimpleInvoiceReExpandCreateCell
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateOtherSimpleInvoice
      PlanInvoice
      Tic
      AddCellsInInvoiceLine
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05e_SimpleInvoiceExpandManyTimes (testAccountingRules.TestSaleAccountingRules), Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 2006, in test_05e_SimpleInvoiceExpandManyTimes
    """, quiet=quiet )
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      PlanInvoice
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_06_MultiLineInvoice (testAccountingRules.TestSaleAccountingRules), Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 2021, in test_06_MultiLineInvoice
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      Tic
      CreateNotebookFranceCell
      CreateBareboneFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateMultiLineInvoice
      PlanInvoice
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForMultiLineInvoice
      CheckPaymentLinesCreatedForMultiLineInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_planning_invoice_creates_simulation (testAccountingRules.TestSaleAccountingRules)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 2053, in test_planning_invoice_creates_simulation
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      Tic
      CreateNotebookFranceCell
      CreateBareboneFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      Tic
      PlanInvoice
      Tic
      CheckInvoiceSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_04_SimpleInvoice (testAccountingRules.TestPurchaseAccountingRules), Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1660, in test_04_SimpleInvoice
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      PlanInvoice
      Tic
      CheckFirstRuleIsApplied
      CheckPaymentRuleIsApplied
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCoherantWithSimulation
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_04b_SimpleInvoiceConfirm (testAccountingRules.TestPurchaseAccountingRules), Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1700, in test_04b_SimpleInvoiceConfirm
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_04c_SimpleInvoiceTwoLines (testAccountingRules.TestPurchaseAccountingRules), Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1738, in test_04c_SimpleInvoiceTwoLines
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoiceTwoLines
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_04d_SimpleInvoiceTwoCells (testAccountingRules.TestPurchaseAccountingRules), Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1776, in test_04d_SimpleInvoiceTwoCells
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoiceTwoCells
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05a_SimpleInvoiceReExpandAddLine (testAccountingRules.TestPurchaseAccountingRules), Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1817, in test_05a_SimpleInvoiceReExpandAddLine
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateEmptyInvoice
      PlanInvoice
      Tic
      AddInvoiceLine
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05b_SimpleInvoiceReExpandEditLine (testAccountingRules.TestPurchaseAccountingRules), Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1856, in test_05b_SimpleInvoiceReExpandEditLine
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateOtherSimpleInvoice
      PlanInvoice
      Tic
      EditInvoiceLine
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05c_SimpleInvoiceReExpandDeleteLine (testAccountingRules.TestPurchaseAccountingRules), Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1895, in test_05c_SimpleInvoiceReExpandDeleteLine
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      AddInvoiceLine
      PlanInvoice
      Tic
      DeleteInvoiceLine
      Tic
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05d_SimpleInvoiceReExpandCreateCell (testAccountingRules.TestPurchaseAccountingRules), Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1936, in test_05d_SimpleInvoiceReExpandCreateCell
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateOtherSimpleInvoice
      PlanInvoice
      Tic
      AddCellsInInvoiceLine
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_05e_SimpleInvoiceExpandManyTimes (testAccountingRules.TestPurchaseAccountingRules), Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 2006, in test_05e_SimpleInvoiceExpandManyTimes
    """, quiet=quiet )
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      PlanInvoice
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      CheckPaymentLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_06_MultiLineInvoice (testAccountingRules.TestPurchaseAccountingRules), Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 2021, in test_06_MultiLineInvoice
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      Tic
      CreateNotebookFranceCell
      CreateBareboneFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateMultiLineInvoice
      PlanInvoice
      ConfirmInvoice
      Tic
      CheckNoAccountingLinesBuiltYet
      StartInvoice
      Tic
      CheckAccountingLinesCreatedForMultiLineInvoice
      CheckPaymentLinesCreatedForMultiLineInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_planning_invoice_creates_simulation (testAccountingRules.TestPurchaseAccountingRules)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 2053, in test_planning_invoice_creates_simulation
    self.playSequence("""
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      Tic
      CreateNotebookFranceCell
      CreateBareboneFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleInvoice
      Tic
      PlanInvoice
      Tic
      CheckInvoiceSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 202, in stepCreateInvoiceTransactionRule
    'default_invoice_transaction_simulation_rule')
AttributeError: default_invoice_transaction_simulation_rule


ERROR: test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 1026, in test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, 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
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckDivergedOnPackingList
      CheckDivergedQuantityOnPackingList
    > AdoptPrevisionOnPackingList
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 247, in stepAdoptPrevisionOnPackingList
    divergence_to_adopt_list=divergence_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/SimulatedDeliveryBuilder.py", line 282, in _solveDivergence
    force_update=1)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 422, in _processDeliveryGroup
    divergence_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 321, in _findUpdatableObject
    result, property_dict = self._test(
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 289, in _test
    tmp_result, tmp_property_dict = movement_group_node.test(
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/MovementGroup.py", line 156, in test
    related_divergence_list = [
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/ObjectMessage.py", line 80, in __getattr__
    return getattr(obj, name)
AttributeError: divergence_scope


ERROR: test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 323, in test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, 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
      StartPackingList
      StopPackingList
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
    > AdoptPrevisionOnInvoice
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 258, in stepAdoptPrevisionOnInvoice
    divergence_to_adopt_list=divergence_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/SimulatedDeliveryBuilder.py", line 282, in _solveDivergence
    force_update=1)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 422, in _processDeliveryGroup
    divergence_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 321, in _findUpdatableObject
    result, property_dict = self._test(
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 289, in _test
    tmp_result, tmp_property_dict = movement_group_node.test(
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/MovementGroup.py", line 156, in test
    related_divergence_list = [
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/ObjectMessage.py", line 80, in __getattr__
    return getattr(obj, name)
AttributeError: divergence_scope


ERROR: test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Adopt quantity with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 323, in test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, 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
      Tic
      StartPackingList
      StopPackingList
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
    > AdoptPrevisionOnInvoice
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 258, in stepAdoptPrevisionOnInvoice
    divergence_to_adopt_list=divergence_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/SimulatedDeliveryBuilder.py", line 282, in _solveDivergence
    force_update=1)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 410, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 422, in _processDeliveryGroup
    divergence_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 321, in _findUpdatableObject
    result, property_dict = self._test(
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 289, in _test
    tmp_result, tmp_property_dict = movement_group_node.test(
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/MovementGroup.py", line 156, in test
    related_divergence_list = [
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/ObjectMessage.py", line 80, in __getattr__
    return getattr(obj, name)
AttributeError: divergence_scope


FAIL: test_04_InvoiceChangeStartDateFail (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 597, in test_04_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 156, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, 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_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testPackingList.py", line 194, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError


ERROR: test_confirming (testBPMEvaluation.TestOrderDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 847, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1032, in setUpERP5Site
    quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 940, in _installBusinessTemplateList
    update_translation=1)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Base.py", line 237, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4858, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4796, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3451, in install
    self.local_file_importer_name(name)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Utils.py", line 920, in importLocalDocument
    module = imp.load_source(class_path, path)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Document/OrderBuilder.py", line 31, in ?
    from Products.ERP5.Document.BPMBuilder import BPMBuilder
ImportError: No module named BPMBuilder


ERROR: test_starting (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 847, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1032, in setUpERP5Site
    quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 940, in _installBusinessTemplateList
    update_translation=1)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Base.py", line 237, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4858, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4796, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3451, in install
    self.local_file_importer_name(name)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Utils.py", line 920, in importLocalDocument
    module = imp.load_source(class_path, path)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Document/OrderBuilder.py", line 31, in ?
    from Products.ERP5.Document.BPMBuilder import BPMBuilder
ImportError: No module named BPMBuilder


ERROR: test_confirming (testBPMEvaluation.TestOrderDifferentProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 847, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1032, in setUpERP5Site
    quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 940, in _installBusinessTemplateList
    update_translation=1)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Base.py", line 237, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4858, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4796, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3451, in install
    self.local_file_importer_name(name)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Utils.py", line 920, in importLocalDocument
    module = imp.load_source(class_path, path)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Document/OrderBuilder.py", line 31, in ?
    from Products.ERP5.Document.BPMBuilder import BPMBuilder
ImportError: No module named BPMBuilder


ERROR: test_starting (testBPMEvaluation.TestPackingListDifferentProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 847, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1032, in setUpERP5Site
    quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 940, in _installBusinessTemplateList
    update_translation=1)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Base.py", line 237, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4858, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4796, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3451, in install
    self.local_file_importer_name(name)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Utils.py", line 920, in importLocalDocument
    module = imp.load_source(class_path, path)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Document/OrderBuilder.py", line 31, in ?
    from Products.ERP5.Document.BPMBuilder import BPMBuilder
ImportError: No module named BPMBuilder


FAIL: test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 303, in test_03_AcceptingDecision
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      GetRelatedInvoiceFromPackingList
      UpdateInvoice
      Tic
      CheckInvoiceIsDivergent
      AcceptDecisionInvoiceQuantity
      Tic
      CheckInvoiceIsNotDivergent
    > CheckPackingListIsDivergent
      AdoptPrevisionPackingListQuantity
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testPackingList.py", line 194, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError


ERROR: test_02_renderTask (testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testICal.py", line 209, in test_02_renderTask
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_cefb9b8a3a89a3f683f25c51b36c5dc6/task_module/one', 'Delivery_updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, 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 1309, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 47, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_cefb9b8a3a89a3f683f25c51b36c5dc6/Delivery_updateAppliedRule used for /erp5_portal_cefb9b8a3a89a3f683f25c51b36c5dc6/task_module/one>
   - Line 47
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_order_rule' is found



FAIL: test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3688, in test_19_TestAccountingBuildingAndDivergence
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      SetTest19SequenceData
      DeleteAccounting
      Tic
      DeleteAllPackingLists
      Tic
      TestAllAppliedRulesAreEmpty
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      BuildAccounting
      Tic
      TestSimpleAccountingBuild
      SetTest19SequenceData2
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      TestSimulationBuildAfterFirstAccountingChange
      BuildAccounting
      Tic
    > TestAccountingBuildAfterFirstChange
      DeletePackingList
      Tic
      TestSimulationBuildAfterSecondAccountingChange
      BuildAccounting
      Tic
      TestAccountingBuildAfterSecondChange
      AdoptPrevision
      Tic
      TestAccountingBuildAfterAdoptPrevision
      Test19ModifyPackingList
      Tic
      TestSimulationBuildAfterPackingListModification
      BuildAccounting
      Tic
      TestAccountingBuildAfterPackingListModification
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 2520, in stepTestAccountingBuildAfterFirstChange
    self._testAccountingBuild(c_transaction_list, e_transaction_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 2987, in _testAccountingBuild
    self.failUnless(e_found_transaction is not None)
AssertionError


FAIL: test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3765, in test_20_TestAccountingAcceptDecisionSolver
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      SetTest20SequenceData
      DeleteAccounting
      Tic
      DeleteAllPackingLists
      Tic
      TestAllAppliedRulesAreEmpty
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      BuildAccounting
      Tic
      ConfirmAmortisationTransaction
      Tic
      TestSimpleAccountingBuild
      ChangeAccountingPrice
      Tic
      AcceptDecision
      Tic
    > TestSimulationBuildAfterAcceptDecision
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 2743, in stepTestSimulationBuildAfterAcceptDecision
    self._testSimulationBuild(c_simulation_movement_list, e_simulation_movement_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 2141, in _testSimulationBuild
    self.fail('No expected movement found for\
AssertionError: No expected movement found for portal_simulation/26/start_input_0_0
	None
	None
	0.0
	10000.0
	currency_module/EUR
	account_module/account1
	organisation_module/A
	2000/01/01
	2000/01/01
[{'destination': None,
  'destination_section_value': None,
  'id': 1,
  'profit_quantity': -5000,
  'quantity': 10000,
  'resource': 'currency_module/EUR',
  'source': 'account_module/account1',
  'source_section_value': <Organisation at /erp5_portal_168a841f92e1bd50ea96f4abcb5d8d9b/organisation_module/A>,
  'start_date': DateTime('2000/01/01'),
  'stop_date': DateTime('2000/01/01')}]


ERROR: test_07_InvoiceAddPackingListLine (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2749, in test_07_InvoiceAddPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      AddPackingListLine
      SetContainerFullQuantity
    > Tic
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8685db8faf417b87851d6c5a2ca7dad3/sale_packing_list_module/10', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



FAIL: test_09_InvoiceChangeStartDateFail (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2830, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 156, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      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
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 299, in stepCheckInvoiceTransactionRule
    parent_movement.getStartDate())
AssertionError: DateTime('2011/05/12 13:12:22.373 GMT') != DateTime('2011/04/27 13:12:22.373 GMT')


FAIL: test_09b_InvoiceChangeStartDateSucceed (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2875, in test_09b_InvoiceChangeStartDateSucceed
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 156, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      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
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 299, in stepCheckInvoiceTransactionRule
    parent_movement.getStartDate())
AssertionError: DateTime('2011/05/12 13:12:22.373 GMT') != DateTime('2011/04/27 13:12:22.373 GMT')


FAIL: test_modify_planned_order_invoice_transaction_rule (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1631, in test_modify_planned_order_invoice_transaction_rule
    invoice_transaction_movement.getStartDate())
AssertionError: DateTime('2001/02/03') != DateTime('2008/01/11')


FAIL: test_modify_planned_order_invoicing_rule (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1415, in test_modify_planned_order_invoicing_rule
    invoice_movement.getStartDate())
AssertionError: DateTime('2001/02/03') != DateTime('2008/01/11')


FAIL: test_modify_planned_order_invoice_transaction_rule (testInvoice.TestPurchaseInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1631, in test_modify_planned_order_invoice_transaction_rule
    invoice_transaction_movement.getStartDate())
AssertionError: DateTime('2001/02/03') != DateTime('2008/01/11')


FAIL: test_modify_planned_order_invoicing_rule (testInvoice.TestPurchaseInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1415, in test_modify_planned_order_invoicing_rule
    invoice_movement.getStartDate())
AssertionError: DateTime('2001/02/03') != DateTime('2008/01/11')


ERROR: test_06_VerifyHavingSameItemTwiceOnMovementCausesNoBug (testItem.TestItem)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 660, in test_06_VerifyHavingSameItemTwiceOnMovementCausesNoBug
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_9e7377d240b5bbc1be56800e3346f083/purchase_packing_list_module/4', 'updateCausalityState', -1, 0), ('/erp5_portal_9e7377d240b5bbc1be56800e3346f083/purchase_packing_list_module/4', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_9e7377d240b5bbc1be56800e3346f083/purchase_packing_list_module/4', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_12_CreteSameResourceDifferentItemOrderLines (testItem.TestItem)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 787, in test_12_CreteSameResourceDifferentItemOrderLines
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateItemList
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderLineSetAggregationList
      CreateItemList
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderSetAggregationList
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      CheckPackingListLineAggregateList
      ModifyOrderLinesQuantity
      Tic
      CheckPackingListIsDiverged
    > AdoptPrevisionQuantity
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithNewQuantityPrevision
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testPackingList.py", line 697, in stepAdoptPrevisionQuantity
    self._solveDivergence(packing_list, 'quantity', 'Adopt Solver')
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testPackingList.py", line 703, in _solveDivergence
    solver_decision, = [x for x in solver_process.contentValues()
ValueError: too many values to unpack


ERROR: test_select_item_dialog_variation (testItem.TestItem)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 949, in test_select_item_dialog_variation
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_9e7377d240b5bbc1be56800e3346f083/portal_deliveries/purchase_invoice_builder', 'build', -1, 0), ('/erp5_portal_9e7377d240b5bbc1be56800e3346f083/purchase_packing_list_module/6', 'updateCausalityState', -1, 0), ('/erp5_portal_9e7377d240b5bbc1be56800e3346f083/purchase_packing_list_module/6', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_9e7377d240b5bbc1be56800e3346f083/purchase_packing_list_module/6', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_Item_getCurrentOwnerTitle (testItem.TestItemScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 1092, in test_Item_getCurrentOwnerTitle
    line = self._makeSalePackingListLine()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/utils.py", line 382, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/1', 'updateCausalityState', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/1', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/1', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_Item_getCurrentOwnerValue (testItem.TestItemScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 1084, in test_Item_getCurrentOwnerValue
    line = self._makeSalePackingListLine()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/utils.py", line 382, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/2', 'updateCausalityState', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/2', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/2', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_Item_getCurrentSiteTitle (testItem.TestItemScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 1108, in test_Item_getCurrentSiteTitle
    line = self._makeSalePackingListLine()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/utils.py", line 382, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/3', 'updateCausalityState', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/3', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/3', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_Item_getCurrentSiteValue (testItem.TestItemScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 1100, in test_Item_getCurrentSiteValue
    line = self._makeSalePackingListLine()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/utils.py", line 382, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/4', 'updateCausalityState', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/4', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/4', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_Item_getResourceTitle (testItem.TestItemScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 1076, in test_Item_getResourceTitle
    line = self._makeSalePackingListLine()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/utils.py", line 382, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/5', 'updateCausalityState', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/5', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/5', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_Item_getResourceValue (testItem.TestItemScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 1068, in test_Item_getResourceValue
    line = self._makeSalePackingListLine()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/utils.py", line 382, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/6', 'updateCausalityState', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/6', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/6', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_Item_getVariationCategoryList (testItem.TestItemScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 1141, in test_Item_getVariationCategoryList
    self._makeSalePackingListCellWithVariation()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/utils.py", line 382, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/7', 'updateCausalityState', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/7', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/7', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_Item_getVariationRangeCategoryItemList (testItem.TestItemScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 1149, in test_Item_getVariationRangeCategoryItemList
    self._makeSalePackingListCellWithVariation()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/utils.py", line 382, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/8', 'updateCausalityState', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/8', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_414eeaef40dfa7a367469c1dc65a93bd/sale_packing_list_module/8', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



FAIL: test_09_ChangeOrderDateAndAcceptOnPackingList (testItem.TestItem)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 725, in test_09_ChangeOrderDateAndAcceptOnPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateItemList
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderLineSetAggregationList
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderLineAggregate
      CheckOrderSimulation
      CheckSimulationAggregate
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckPackingListLineAggregate
      CheckToRender_Delivery_viewAggregatedItemList
      ModifyOneOrderLineStartDate
      Tic
    > CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testPackingList.py", line 226, in stepCheckPackingListIsDiverged
    self.assertEquals('diverged', packing_list.getCausalityState())
AssertionError: 'diverged' != 'solved'


FAIL: test_13_CreateSameResourceDiffrentItemOrderLinesThenChangeTheOrderLinesDate (testItem.TestItem)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testItem.py", line 804, in test_13_CreateSameResourceDiffrentItemOrderLinesThenChangeTheOrderLinesDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateItemList
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderLineSetAggregationList
      CreateItemList
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderSetAggregationList
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      CheckPackingListLineAggregateList
      ModifyOrderLinesDate
      Tic
    > CheckPackingListIsDiverged
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListStartDateAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testPackingList.py", line 226, in stepCheckPackingListIsDiverged
    self.assertEquals('diverged', packing_list.getCausalityState())
AssertionError: 'diverged' != 'solved'


ERROR: test_TransformationRule_expand (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testMRP.py", line 284, in test_TransformationRule_expand
    rule = self.getRule(reference='default_transformation_model_rule')
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 471, in getRule
    return self.portal.portal_rules.searchFolder(
  File "/usr/lib/erp5/lib/python/Shared/DC/ZRDB/Results.py", line 101, in __getitem__
    fields=self._class(self._data[index], parent)
IndexError: tuple index out of range


ERROR: test_01_simpleOrderBuilder (testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testOrderBuilder.py", line 300, in test_01_simpleOrderBuilder
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation
      CreateNotVariatedResource
      SetMaxDelayOnResource
      SetMinFlowOnResource
      Tic
      DecreaseOrganisationResourceQuantity
      Tic
      CreateOrderBuilder
      FillOrderBuilder
      Tic
      BuildOrderBuilder
      Tic
    > CheckGeneratedDocumentList
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testOrderBuilder.py", line 158, in stepCheckGeneratedDocumentList
    order, = sequence.get('generated_document_list')
ValueError: need more than 0 values to unpack


ERROR: test_01a_simpleOrderBuilderVariatedResource (testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testOrderBuilder.py", line 341, in test_01a_simpleOrderBuilderVariatedResource
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation
      CreateVariatedResource
      SetMaxDelayOnResource
      SetMinFlowOnResource
      Tic
      DecreaseOrganisationResourceQuantityVariated
      Tic
      CreateOrderBuilder
      FillOrderBuilder
      Tic
      BuildOrderBuilder
      Tic
    > CheckGeneratedDocumentListVariated
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testOrderBuilder.py", line 132, in stepCheckGeneratedDocumentListVariated
    order, = sequence.get('generated_document_list')
ValueError: need more than 0 values to unpack


ERROR: test_02_maxDelayResourceOrderBuilder (testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testOrderBuilder.py", line 364, in test_02_maxDelayResourceOrderBuilder
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation
      CreateNotVariatedResource
      SetMaxDelayOnResource
      SetMinFlowOnResource
      Tic
      DecreaseOrganisationResourceQuantity
      Tic
      CreateOrderBuilder
      FillOrderBuilder
      Tic
      BuildOrderBuilder
      Tic
    > CheckGeneratedDocumentList
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testOrderBuilder.py", line 158, in stepCheckGeneratedDocumentList
    order, = sequence.get('generated_document_list')
ValueError: need more than 0 values to unpack


ERROR: test_03_minFlowResourceOrderBuilder (testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testOrderBuilder.py", line 389, in test_03_minFlowResourceOrderBuilder
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation
      CreateNotVariatedResource
      SetMaxDelayOnResource
      SetMinFlowOnResource
      Tic
      DecreaseOrganisationResourceQuantity
      Tic
      CreateOrderBuilder
      FillOrderBuilder
      Tic
      BuildOrderBuilder
      Tic
    > CheckGeneratedDocumentList
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testOrderBuilder.py", line 158, in stepCheckGeneratedDocumentList
    order, = sequence.get('generated_document_list')
ValueError: need more than 0 values to unpack


ERROR: test_01_testProductionSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrder.py", line 1324, in test_01_testProductionSimulationExpand
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateProductionSC
      CreateNotVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      CheckProductionSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_303f4118abc2b708b4fa015015b7a00c/production_order_module/1', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_02_testSourcingSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrder.py", line 1351, in test_02_testSourcingSimulationExpand
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateSupplyOrganisation1
      CreateSourcingSC
      CreateNotVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      CheckSourcingSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_303f4118abc2b708b4fa015015b7a00c/production_order_module/2', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_03_testIndustrialPhase (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrder.py", line 1379, in test_03_testIndustrialPhase
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateProductionOrganisation2
      CreateSupplyOrganisation1
      CreateSupplyOrganisation2
      CreateTwoPhasesSC
      CreateNotVariatedResource
      CreateComponent1
      CreateComponent2
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      CheckTwoPhasesSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_303f4118abc2b708b4fa015015b7a00c/production_order_module/3', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_04_testProductionSimulationBuild (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrder.py", line 1406, in test_04_testProductionSimulationBuild
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateProductionSC
      CreateNotVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      ConfirmOrder
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_303f4118abc2b708b4fa015015b7a00c/production_order_module/4', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_05_testSourcingSimulationBuild (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrder.py", line 1419, in test_05_testSourcingSimulationBuild
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateSupplyOrganisation1
      CreateSourcingSC
      CreateNotVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      CheckSourcingSimulation
      ConfirmOrder
      Tic
      CheckSourcingSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_303f4118abc2b708b4fa015015b7a00c/production_order_module/5', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_06_testIndustrialPhase (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrder.py", line 1450, in test_06_testIndustrialPhase
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateProductionOrganisation2
      CreateSupplyOrganisation1
      CreateSupplyOrganisation2
      CreateTwoPhasesSC
      CreateNotVariatedResource
      CreateComponent1
      CreateComponent2
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      ConfirmOrder
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_303f4118abc2b708b4fa015015b7a00c/production_order_module/6', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_08_testTransformationWithEfficiency (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrder.py", line 1605, in test_08_testTransformationWithEfficiency
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateSupplyOrganisation1
      CreateSourcingSC
      Tic
      CreateNotVariatedResource
      CreateComponent1
      CreateEmptyTransformation
      FillTransformationWithResource
      Tic
      CreateTransformationTransformedResource
      FillTransformationTransformedResourceWithComponent1
      SetTransformationTransformedResourceQuantity
      SetTransformationTransformedResourceEfficiency
      SetTransformationTransformedResourceIndustrialPhaseList
      Tic
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      SetOrderLineQuantity
      Tic
      OrderOrder
    > Tic
      CheckEfficiencySimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_303f4118abc2b708b4fa015015b7a00c/production_order_module/13', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_09_testTransformationWithVariation (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrder.py", line 1736, in test_09_testTransformationWithVariation
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateSupplyOrganisation1
      CreateSourcingSC
      Tic
      CreateColourSizeVariatedResource
      CreateColourSizeVariatedComponent1
      Tic
      CreateEmptyTransformation
      FillTransformationWithResource
      SetTransformationVariation
      Tic
      CreateTransformationTransformedResource
      FillTransformationTransformedResourceWithComponent1
      SetTransformationTransformedResourceVariation
      SetTransformationTransformedResourceIndustrialPhaseList
      Tic
      SetTransformationTransformedResourceQuantityMatrix
      SetTransformationTransformedResourceVariationMatrix
      Tic
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      SetOrderLineVariationCategories
      SetOrderLineQuantityMatrix
      Tic
      OrderOrder
    > Tic
      CheckVariationSimulation
      ConfirmOrder
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_303f4118abc2b708b4fa015015b7a00c/production_order_module/14', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_01_testProductionSimulationExpand (testProductionOrderApparel.TestProductionOrderApparel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrderApparel.py", line 960, in test_01_testProductionSimulationExpand
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateProductionSC
      CreateVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      CheckProductionSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_18666b9bab8a3375d895dac359522af0/production_order_module/1', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_02_testSourcingSimulationExpand (testProductionOrderApparel.TestProductionOrderApparel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrderApparel.py", line 987, in test_02_testSourcingSimulationExpand
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateSupplyOrganisation1
      CreateSourcingSC
      CreateVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      CheckSourcingSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_18666b9bab8a3375d895dac359522af0/production_order_module/2', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_03_testIndustrialPhase (testProductionOrderApparel.TestProductionOrderApparel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrderApparel.py", line 1015, in test_03_testIndustrialPhase
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateProductionOrganisation2
      CreateSupplyOrganisation1
      CreateSupplyOrganisation2
      CreateTwoPhasesSC
      CreateVariatedResource
      CreateComponent1
      CreateComponent2
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      CheckTwoPhasesSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_18666b9bab8a3375d895dac359522af0/production_order_module/3', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_04_testProductionSimulationBuild (testProductionOrderApparel.TestProductionOrderApparel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrderApparel.py", line 1042, in test_04_testProductionSimulationBuild
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateProductionSC
      CreateVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      ConfirmOrder
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_18666b9bab8a3375d895dac359522af0/production_order_module/4', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_05_testSourcingSimulationBuild (testProductionOrderApparel.TestProductionOrderApparel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrderApparel.py", line 1055, in test_05_testSourcingSimulationBuild
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateSupplyOrganisation1
      CreateSourcingSC
      CreateVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      CheckSourcingSimulation
      ConfirmOrder
      Tic
      CheckSourcingSimulation
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_18666b9bab8a3375d895dac359522af0/production_order_module/5', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_06_testIndustrialPhase (testProductionOrderApparel.TestProductionOrderApparel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionOrderApparel.py", line 1086, in test_06_testIndustrialPhase
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateProductionOrganisation2
      CreateSupplyOrganisation1
      CreateSupplyOrganisation2
      CreateTwoPhasesSC
      CreateVariatedResource
      CreateComponent1
      CreateComponent2
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      ConfirmOrder
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_18666b9bab8a3375d895dac359522af0/production_order_module/6', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: test_01_sourcingDelivery (testProductionPackingList.TestProductionDelivery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProductionPackingList.py", line 778, in test_01_sourcingDelivery
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateProductionOrganisation1
      CreateSupplyOrganisation1
      CreateSourcingSC
      CreateNotVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
    > Tic
      CheckSourcingSimulation
      ConfirmOrder
      Tic
      CheckSourcingSimulation
      CheckSourcingDeliverySimulation
      CheckProducedDeliveryPackingListIsConfirmed
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsConfirmed
      CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsConfirmed
      CheckProducedReportIsSolved
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsSolved
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_48108743c153265094a1592efa897f58/production_order_module/1', 'updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_production_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_production_order_rule' is found



ERROR: testProject_getSourceProjectRelatedTaskReportList (testProject.TestProject)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testProject.py", line 154, in testProject_getSourceProjectRelatedTaskReportList
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_935356b6767f9f8e1c9e799702358714/task_report_module/1', 'updateCausalityState', -1, 0), ('/erp5_portal_935356b6767f9f8e1c9e799702358714/task_report_module/1', 'Delivery_updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_delivery_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, 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 1309, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 47, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_935356b6767f9f8e1c9e799702358714/Delivery_updateAppliedRule used for /erp5_portal_935356b6767f9f8e1c9e799702358714/task_report_module/1>
   - Line 47
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5.Document.PackingList, line 125, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 723, in updateAppliedRule
ValueError: No such rule as 'default_delivery_rule' is found



ERROR: test_01_ReturnedSalePackingListWithInventory (testReturnedSalePackingList.TestReturnedSalePackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testReturnedSalePackingList.py", line 460, in test_01_ReturnedSalePackingListWithInventory
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateCurrency
      CreateNotVariatedResource
      Tic
      Tic
      CreateInitialInventory
      Tic
      CheckInitialInventory
      CreateReturnedPackingList
      ConfirmReturnedPackingList
      ShipReturnedPackingList
      ReceiveReturnedPackingList
      DeliverReturnedPackingList
    > Tic
      CheckReturnedInventory
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/1', 'updateCausalityState', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/1', 'updateCausalityState', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/1', 'Delivery_updateAppliedRule', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/1', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/1', 'Delivery_updateAppliedRule', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/1', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/1', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_02_ReturnedSalePackingListWorkflow (testReturnedSalePackingList.TestReturnedSalePackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testReturnedSalePackingList.py", line 490, in test_02_ReturnedSalePackingListWorkflow
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateCurrency
      CreateNotVariatedResource
      Tic
      Tic
      CreateReturnedPackingList
      ConfirmReturnedPackingList
    > Tic
      CheckConfirmedReturnedPackingList
      ShipReturnedPackingList
      Tic
      CheckShippedReturnedPackingList
      ReceiveReturnedPackingList
      Tic
      CheckReceivedReturnedPackingList
      DeliverReturnedPackingList
      Tic
      CheckDeliveredReturnedPackingList
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/2', 'updateCausalityState', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/2', 'Delivery_updateAppliedRule', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/2', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/2', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



ERROR: test_03_ReturnedSalePackingListWorkflowFail (testReturnedSalePackingList.TestReturnedSalePackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_simulation/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testReturnedSalePackingList.py", line 524, in test_03_ReturnedSalePackingListWorkflowFail
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateCurrency
      CreateNotVariatedResource
      Tic
      Tic
      CreateReturnedPackingList
      ConfirmReturnedPackingList
    > Tic
      CheckConfirmedReturnedPackingList
      ShipReturnedPackingList
      Tic
      CheckShippedReturnedPackingList
      ReceiveReturnedPackingList
      Tic
      CheckReceivedReturnedPackingList
      DeliverReturnedPackingList
      Tic
      CheckDeliveredReturnedPackingList
      Tic
      ConfirmReturnedPackingList
      Tic
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/3', 'updateCausalityState', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/3', 'Delivery_updateAppliedRule', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/3', 'applyToDeliveryRelatedMovement', -1, 0), ('/erp5_portal_dc2688613f27509924625a9a445111a0/returned_sale_packing_list_module/3', 'expand', -2, 1)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 208, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 162, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 110, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 714, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



More information about the Erp5-report mailing list