[Erp5-report] ERP5_simulation r43864 : 332 Tests, 117 Errors, 42 Failures, 5 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 1 21:13:44 CET 2011


Test Suite: ERP5_simulation
Revision: 43864
Result: FAIL

All tests: 332
Failures: 42
Errors: 117
Skips: 5



The following tests failed:

  testAccountingRules                                (26 errors)
   test_02_UpdateInvoiceTransactionRuleMatrix (testAccountingRules.TestSaleAccountingRules), test edition of matrix and rule.
   test_03_invoiceTransactionRule_getMatchingCell (testAccountingRules.TestSaleAccountingRules), test predicates for the cells of invoice transaction rule
   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_02_UpdateInvoiceTransactionRuleMatrix (testAccountingRules.TestPurchaseAccountingRules), test edition of matrix and rule.
   test_03_invoiceTransactionRule_getMatchingCell (testAccountingRules.TestPurchaseAccountingRules), test predicates for the cells of invoice transaction rule
   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)

  testBPMCore                                        (6 failures, 6 errors)
   test_BuinessPathDynamicCategoryAccessProvider (testBPMCore.TestBPMImplementation)
   test_BuinessPathDynamicCategoryAccessProviderBusinessLinkPrecedence (testBPMCore.TestBPMImplementation)
   test_BuinessPathDynamicCategoryAccessProviderEmptyMovement (testBPMCore.TestBPMImplementation)
   test_BusinessLink_calculateExpectedDate (testBPMCore.TestBPMImplementation)
   test_BusinessProcess_getPathValueList (testBPMCore.TestBPMImplementation)
   test_BusinessState_getRemainingTradePhaseList (testBPMCore.TestBPMImplementation)
   test_isBuildable_OrderedDeliveredInvoiced (testBPMCore.TestBPMisBuildableImplementation), Test isBuildable for ordered, delivered and invoiced sequence
   test_isBuildable_OrderedInvoicedDelivered (testBPMCore.TestBPMisBuildableImplementation), Test isBuildable for ordered, invoiced and delivered sequence
   test_isCompleted_OrderedDeliveredInvoiced (testBPMCore.TestBPMisCompletedImplementation), Test isCompleted for ordered, delivered and invoiced sequence
   test_isCompleted_OrderedInvoicedDelivered (testBPMCore.TestBPMisCompletedImplementation), Test isCompleted for ordered, invoiced and invoiced sequence
   test_isFrozen_OrderedDeliveredInvoiced (testBPMCore.TestBPMisFrozenImplementation), Test isFrozen for ordered, delivered and invoiced sequence
   test_isFrozen_OrderedInvoicedDelivered (testBPMCore.TestBPMisFrozenImplementation), Test isFrozen for ordered, invoiced and invoiced sequence

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

  testConversionInSimulation                         (4 failures)
   test_01_delivery_mode_on_sale_packing_list_and_invoice (testConversionInSimulation.TestConversionInSimulation)
   test_01_destination_total_asset_price_on_accounting_lines (testConversionInSimulation.TestConversionInSimulation)
   test_01_diverged_sale_packing_list_destination_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
   test_01_quantity_unit_on_sale_packing_list (testConversionInSimulation.TestConversionInSimulation)

  testDeliveryBuilderToSupportMultipleLines          (2 failures)
   test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_04_MergingMultipleSaleOrders (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)

  testDivergenceTester                               (5 errors)
   test_01_QuantityDivergenceTester (testDivergenceTester.TestDivergenceTester)
   test_02_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
   test_03_PropertyDivergenceTester (testDivergenceTester.TestDivergenceTester)
   test_04_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
   test_QuantityDivergenceTesterCompareMethod (testDivergenceTester.TestDivergenceTester)

  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)

  testPackingList                                    (16 failures)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testPackingList.TestPackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testPackingList.TestPackingList)
   test_06_SimulationChangeStartDate (testPackingList.TestPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
   test_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
   test_19_ChangeResourceOnPackingListAndOrder (testPackingList.TestPackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testPackingList.TestPurchasePackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testPackingList.TestPurchasePackingList)
   test_06_SimulationChangeStartDate (testPackingList.TestPurchasePackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPurchasePackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPurchasePackingList)
   test_09_AddContainersWithVariatedResources (testPackingList.TestPurchasePackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPurchasePackingList)
   test_19_ChangeResourceOnPackingListAndOrder (testPackingList.TestPurchasePackingList)

  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)

  testTaskReportDivergence                           (3 failures, 1 skips)
   test_01_TestReportLineChangeQuantity (testTaskReportDivergence.TestTaskReportDivergence)
   test_02_TestReportListChangeDestination (testTaskReportDivergence.TestTaskReportDivergence)
   test_03_TaskReportChangeStartDate (testTaskReportDivergence.TestTaskReportDivergence)

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'

  testTaskReportDivergence                           (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 137 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110301/93133de3/attachment-0001.diff>
-------------- next part --------------

ERROR: test_02_UpdateInvoiceTransactionRuleMatrix (testAccountingRules.TestSaleAccountingRules), test edition of matrix and rule.
----------------------------------------------------------------------
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 1680, in test_02_UpdateInvoiceTransactionRuleMatrix
    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:
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      Tic
      CheckAddPredicate
      Tic
      CheckRemovePredicate
      Tic
      CheckRestoreOriginalPredicates
  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_03_invoiceTransactionRule_getMatchingCell (testAccountingRules.TestSaleAccountingRules), test predicates for the cells of invoice transaction rule
----------------------------------------------------------------------
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 1706, in test_03_invoiceTransactionRule_getMatchingCell
    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
      Tic
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateProducts
      Tic
      CreateDummyInvoice
      CreateMatchableInvoiceMovements
      CheckMatchableInvoiceMovements
      CreateNotMatchableInvoiceMovements
      CheckNotMatchableInvoiceMovements
  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.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 1738, 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 1778, 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 1816, 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 1854, 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 1895, 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 1934, 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 1973, 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 2014, 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 2084, 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 2099, 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 2139, 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_02_UpdateInvoiceTransactionRuleMatrix (testAccountingRules.TestPurchaseAccountingRules), test edition of matrix and rule.
----------------------------------------------------------------------
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 1680, in test_02_UpdateInvoiceTransactionRuleMatrix
    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:
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      Tic
      CheckAddPredicate
      Tic
      CheckRemovePredicate
      Tic
      CheckRestoreOriginalPredicates
  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_03_invoiceTransactionRule_getMatchingCell (testAccountingRules.TestPurchaseAccountingRules), test predicates for the cells of invoice transaction rule
----------------------------------------------------------------------
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 1706, in test_03_invoiceTransactionRule_getMatchingCell
    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
      Tic
    > CreateInvoiceTransactionRule
      UpdateInvoiceTransactionRuleMatrix
      CreatePaymentRule
      UpdatePaymentRuleMatrix
      ValidateInvoiceTransaction
      CreateProducts
      Tic
      CreateDummyInvoice
      CreateMatchableInvoiceMovements
      CheckMatchableInvoiceMovements
      CreateNotMatchableInvoiceMovements
      CheckNotMatchableInvoiceMovements
  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 1738, 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 1778, 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 1816, 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 1854, 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 1895, 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 1934, 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 1973, 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 2014, 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 2084, 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 2099, 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 2139, 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 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 423, in _processDeliveryGroup
    divergence_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 322, in _findUpdatableObject
    result, property_dict = self._test(
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 290, 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 157, 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 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 423, in _processDeliveryGroup
    divergence_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 322, in _findUpdatableObject
    result, property_dict = self._test(
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 290, 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 157, 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 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 411, in _processDeliveryGroup
    force_update=force_update)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 423, in _processDeliveryGroup
    divergence_list)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 322, in _findUpdatableObject
    result, property_dict = self._test(
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/mixin/builder.py", line 290, 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 157, 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 154, 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_BuinessPathDynamicCategoryAccessProvider (testBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
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/testBPMCore.py", line 263, in test_BuinessPathDynamicCategoryAccessProvider
    business_link.setSourceMethodId('BusinessLink_getDefaultSourceList')
AttributeError: setSourceMethodId


ERROR: test_BuinessPathDynamicCategoryAccessProviderBusinessLinkPrecedence (testBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
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/testBPMCore.py", line 283, in test_BuinessPathDynamicCategoryAccessProviderBusinessLinkPrecedence
    business_link.setSourceMethodId('BusinessLink_getDefaultSourceList')
AttributeError: setSourceMethodId


ERROR: test_BuinessPathDynamicCategoryAccessProviderEmptyMovement (testBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
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/testBPMCore.py", line 297, in test_BuinessPathDynamicCategoryAccessProviderEmptyMovement
    business_link.setSourceMethodId('BusinessLink_getDefaultSourceList')
AttributeError: setSourceMethodId


ERROR: test_BusinessLink_calculateExpectedDate (testBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
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/testBPMCore.py", line 508, in test_BusinessLink_calculateExpectedDate
    self.assertEquals(business_link_b_d.getExpectedStartDate(mock), DateTime('2009/04/01 GMT+9'))
AttributeError: getExpectedStartDate


ERROR: test_BusinessProcess_getPathValueList (testBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
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/testBPMCore.py", line 221, in test_BusinessProcess_getPathValueList
    business_process.getPathValueList(trade_phase='default/accounting')
AttributeError: getPathValueList


ERROR: test_BusinessState_getRemainingTradePhaseList (testBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
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/testBPMCore.py", line 378, in test_BusinessState_getRemainingTradePhaseList
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_618d99400ff4d19199c32e938d53c38c/sale_order_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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



FAIL: test_isBuildable_OrderedDeliveredInvoiced (testBPMCore.TestBPMisBuildableImplementation), Test isBuildable for ordered, delivered and invoiced sequence
----------------------------------------------------------------------
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/testBPMCore.py", line 709, in test_isBuildable_OrderedDeliveredInvoiced
    self.assertEquals(self.invoice_path.isBuildable(order), False)
AssertionError: True != False


FAIL: test_isBuildable_OrderedInvoicedDelivered (testBPMCore.TestBPMisBuildableImplementation), Test isBuildable for ordered, invoiced and delivered sequence
----------------------------------------------------------------------
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/testBPMCore.py", line 809, in test_isBuildable_OrderedInvoicedDelivered
    self.assertEquals(self.delivery_path.isBuildable(order), False)
AssertionError: True != False


FAIL: test_isCompleted_OrderedDeliveredInvoiced (testBPMCore.TestBPMisCompletedImplementation), Test isCompleted for ordered, delivered and invoiced sequence
----------------------------------------------------------------------
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/testBPMCore.py", line 962, in test_isCompleted_OrderedDeliveredInvoiced
    self.assertEqual(self.invoice_path.isCompleted(delivery), False)
AssertionError: True != False


FAIL: test_isCompleted_OrderedInvoicedDelivered (testBPMCore.TestBPMisCompletedImplementation), Test isCompleted for ordered, invoiced and invoiced sequence
----------------------------------------------------------------------
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/testBPMCore.py", line 1033, in test_isCompleted_OrderedInvoicedDelivered
    self.assertEqual(self.invoice_path.isCompleted(order), False)
AssertionError: True != False


FAIL: test_isFrozen_OrderedDeliveredInvoiced (testBPMCore.TestBPMisFrozenImplementation), Test isFrozen for ordered, delivered and invoiced sequence
----------------------------------------------------------------------
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/testBPMCore.py", line 1155, in test_isFrozen_OrderedDeliveredInvoiced
    self.assertEqual(self.invoice_path.isFrozen(order), False)
AssertionError: True != False


FAIL: test_isFrozen_OrderedInvoicedDelivered (testBPMCore.TestBPMisFrozenImplementation), Test isFrozen for ordered, invoiced and invoiced sequence
----------------------------------------------------------------------
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/testBPMCore.py", line 1235, in test_isFrozen_OrderedInvoicedDelivered
    self.assertEqual(self.invoice_path.isFrozen(order), False)
AssertionError: True != False


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 820, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1005, in setUpERP5Site
    quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 913, 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 4819, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4750, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3428, in install
    self.local_file_importer_name(name)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Utils.py", line 956, 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 820, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1005, in setUpERP5Site
    quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 913, 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 4819, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4750, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3428, in install
    self.local_file_importer_name(name)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Utils.py", line 956, 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 820, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1005, in setUpERP5Site
    quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 913, 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 4819, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4750, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3428, in install
    self.local_file_importer_name(name)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Utils.py", line 956, 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 820, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1005, in setUpERP5Site
    quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 913, 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 4819, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4750, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3428, in install
    self.local_file_importer_name(name)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Utils.py", line 956, 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_01_delivery_mode_on_sale_packing_list_and_invoice (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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/testConversionInSimulation.py", line 761, in test_01_delivery_mode_on_sale_packing_list_and_invoice
    self.assertNotEquals(related_packing_list, None)
AssertionError: None == None


FAIL: test_01_destination_total_asset_price_on_accounting_lines (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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/testConversionInSimulation.py", line 460, in test_01_destination_total_asset_price_on_accounting_lines
    self.assertNotEquals(related_packing_list, None)
AssertionError: None == None


FAIL: test_01_diverged_sale_packing_list_destination_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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/testConversionInSimulation.py", line 552, in test_01_diverged_sale_packing_list_destination_total_asset_price
    self.assertNotEquals(related_packing_list, None)
AssertionError: None == None


FAIL: test_01_quantity_unit_on_sale_packing_list (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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/testConversionInSimulation.py", line 839, in test_01_quantity_unit_on_sale_packing_list
    self.assertNotEquals(related_packing_list, None)
AssertionError: None == None


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


FAIL: test_04_MergingMultipleSaleOrders (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 366, in test_04_MergingMultipleSaleOrders
    self.assertEquals('solved', document.getCausalityState())
AssertionError: 'solved' != 'diverged'


ERROR: test_01_QuantityDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
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/testDivergenceTester.py", line 181, in test_01_QuantityDivergenceTester
    sequence_list.play(self, quiet=self.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:
      GetPackingList
      CheckPackingListIsNotDivergent
      SetNewQuantity
      CheckPackingListIsNotDivergent
    > AddQuantityDivergenceTester
      CheckPackingListIsDivergent
      SetPreviousQuantity
      CheckPackingListIsNotDivergent
      SetPreviousQuantityWithEpsilon
      CheckPackingListIsNotDivergent
      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/testDivergenceTester.py", line 157, in stepAddQuantityDivergenceTester
    rule.newContent(portal_type='Quantity Divergence Tester')
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 151, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Quantity Divergence Tester


ERROR: test_02_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
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/testDivergenceTester.py", line 239, in test_02_CategoryDivergenceTester
    sequence_list.play(self, quiet=self.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:
      GetPackingList
      CheckPackingListIsNotDivergent
      SetNewSource
      CheckPackingListIsNotDivergent
    > AddCategoryDivergenceTester
      CheckPackingListIsNotDivergent
      ConfigureCategoryDivergenceTesterForSource
      CheckPackingListIsDivergent
      SetPreviousSource
      CheckPackingListIsNotDivergent
      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/testDivergenceTester.py", line 197, in stepAddCategoryDivergenceTester
    tester = rule.newContent(portal_type='Category Divergence Tester')
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 151, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Category Divergence Tester


ERROR: test_03_PropertyDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
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/testDivergenceTester.py", line 297, in test_03_PropertyDivergenceTester
    sequence_list.play(self, quiet=self.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:
      GetPackingList
      CheckPackingListIsNotDivergent
      SetNewStartDate
      CheckPackingListIsNotDivergent
    > AddPropertyDivergenceTester
      CheckPackingListIsNotDivergent
      ConfigurePropertyDivergenceTesterForStartDate
      CheckPackingListIsDivergent
      SetPreviousStartDate
      CheckPackingListIsNotDivergent
      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/testDivergenceTester.py", line 255, in stepAddPropertyDivergenceTester
    tester = rule.newContent(portal_type='Property Divergence Tester')
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 151, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Property Divergence Tester


ERROR: test_04_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
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/testDivergenceTester.py", line 347, in test_04_CategoryDivergenceTester
    sequence_list.play(self, quiet=self.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:
      GetPackingList
      CheckPackingListIsNotDivergent
      SetNewAggregate
      CheckPackingListIsNotDivergent
    > AddCategoryDivergenceTester
      CheckPackingListIsNotDivergent
      ConfigureCategoryDivergenceTesterForAggregate
      CheckPackingListIsDivergent
      SetPreviousAggregate
      CheckPackingListIsNotDivergent
      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/testDivergenceTester.py", line 197, in stepAddCategoryDivergenceTester
    tester = rule.newContent(portal_type='Category Divergence Tester')
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 151, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Category Divergence Tester


ERROR: test_QuantityDivergenceTesterCompareMethod (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
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/testDivergenceTester.py", line 351, in test_QuantityDivergenceTesterCompareMethod
    rule = self.portal.portal_rules.newContent(portal_type='Delivery Rule')
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/Core/Folder.py", line 151, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Delivery Rule


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 178, 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 1282, 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 3687, 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 2519, 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 2986, 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 3764, 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 2742, 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 2140, 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_e7f9f35f6c4e0cf67451038fbfe15b0b/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 2747, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 2828, 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 154, 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 297, in stepCheckInvoiceTransactionRule
    parent_movement.getStartDate())
AssertionError: DateTime('2011/03/31 16:59:30.654 GMT') != DateTime('2011/03/16 16:59:30.654 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 2873, 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 154, 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 297, in stepCheckInvoiceTransactionRule
    parent_movement.getStartDate())
AssertionError: DateTime('2011/03/31 16:59:30.654 GMT') != DateTime('2011/03/16 16:59:30.654 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 1629, 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 1413, 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 1629, 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 1413, 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 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 693, 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 699, 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 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 350, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 350, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 350, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 350, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 350, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 350, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 350, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 350, in wrapper
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 448, 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


FAIL: test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1180, in test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      CreateNotVariatedResource
      ModifyOneSimulationLineResource
      Tic
      CheckPackingListIsDiverged
      AdoptPrevisionResource
      Tic
    > CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithDifferentResource
  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 233, in stepCheckPackingListIsNotDivergent
    self.assertFalse(packing_list.isDivergent())
AssertionError


FAIL: test_05f_SimulationChangeAndPartialAcceptDecision (testPackingList.TestPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1228, in test_05f_SimulationChangeAndPartialAcceptDecision
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      CreateNotVariatedResource
      ModifySimulationLineQuantityForMergedLine
      ModifyOneSimulationLineResource
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionResource
      Tic
    > CheckPackingListIsDiverged
      UnifyStartDateWithDecision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckSimulationQuantityUpdatedForMergedLine
  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_06_SimulationChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1252, in test_06_SimulationChangeStartDate
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
    > CheckPackingListIsDiverged
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsSolved
      CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_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_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1274, in test_07_SimulationChangeStartDateWithTwoOrderLine
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
    > CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_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_07a_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1296, in test_07a_SimulationChangeStartDateWithTwoOrderLine
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifyOneSimulationLineStartDate
      Tic
    > CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_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_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1343, in test_09_AddContainersWithVariatedResources
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      SetOrderLineFullVCL
      CompleteOrderLineMatrix
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineSmallQuantity
      CheckContainerLineSmallQuantity
      CheckPackingListIsNotPacked
      SetContainerFullQuantity
      Tic
      CheckPackingListIsPacked
      ModifySimulationLineStartDate
      Tic
    > CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      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 226, in stepCheckPackingListIsDiverged
    self.assertEquals('diverged', packing_list.getCausalityState())
AssertionError: 'diverged' != 'solved'


FAIL: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1411, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckNewPackingListIsDivergent
      NewPackingListAdoptPrevisionQuantity
      Tic
      CheckPackingListIsSolved
    > CheckNewPackingListIsSolved
      CheckPackingListSplittedTwoTimes
  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 219, in stepCheckNewPackingListIsSolved
    self.assertEquals('solved', packing_list.getCausalityState())
AssertionError: 'solved' != 'diverged'


FAIL: test_19_ChangeResourceOnPackingListAndOrder (testPackingList.TestPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1694, in test_19_ChangeResourceOnPackingListAndOrder
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      CreateNotVariatedResource
      ChangePackingListLineResource
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionResource
      Tic
      CheckPackingListIsSolved
      CheckSimulationMovementHasRecordedResource
      ChangeOrderLineResource
      Tic
      CheckPackingListIsSolved
    > CheckSimulationMovementHasNoRecordedResource
  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 996, in stepCheckSimulationMovementHasNoRecordedResource
    self._checkRecordedProperty(movement_list, 'resource', False)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testPackingList.py", line 972, in _checkRecordedProperty
    self.assertFalse(simulation_movement.isPropertyRecorded(property_id))
AssertionError


FAIL: test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1180, in test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      CreateNotVariatedResource
      ModifyOneSimulationLineResource
      Tic
      CheckPackingListIsDiverged
      AdoptPrevisionResource
      Tic
    > CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithDifferentResource
  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 233, in stepCheckPackingListIsNotDivergent
    self.assertFalse(packing_list.isDivergent())
AssertionError


FAIL: test_05f_SimulationChangeAndPartialAcceptDecision (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1228, in test_05f_SimulationChangeAndPartialAcceptDecision
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      CreateNotVariatedResource
      ModifySimulationLineQuantityForMergedLine
      ModifyOneSimulationLineResource
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionResource
      Tic
    > CheckPackingListIsDiverged
      UnifyStartDateWithDecision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckSimulationQuantityUpdatedForMergedLine
  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_06_SimulationChangeStartDate (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1252, in test_06_SimulationChangeStartDate
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
    > CheckPackingListIsDiverged
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsSolved
      CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_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_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1274, in test_07_SimulationChangeStartDateWithTwoOrderLine
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
    > CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_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_07a_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1296, in test_07a_SimulationChangeStartDateWithTwoOrderLine
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifyOneSimulationLineStartDate
      Tic
    > CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5_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_09_AddContainersWithVariatedResources (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1343, in test_09_AddContainersWithVariatedResources
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      SetOrderLineFullVCL
      CompleteOrderLineMatrix
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineSmallQuantity
      CheckContainerLineSmallQuantity
      CheckPackingListIsNotPacked
      SetContainerFullQuantity
      Tic
      CheckPackingListIsPacked
      ModifySimulationLineStartDate
      Tic
    > CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      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 226, in stepCheckPackingListIsDiverged
    self.assertEquals('diverged', packing_list.getCausalityState())
AssertionError: 'diverged' != 'solved'


FAIL: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1411, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckNewPackingListIsDivergent
      NewPackingListAdoptPrevisionQuantity
      Tic
      CheckPackingListIsSolved
    > CheckNewPackingListIsSolved
      CheckPackingListSplittedTwoTimes
  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 219, in stepCheckNewPackingListIsSolved
    self.assertEquals('solved', packing_list.getCausalityState())
AssertionError: 'solved' != 'diverged'


FAIL: test_19_ChangeResourceOnPackingListAndOrder (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1694, in test_19_ChangeResourceOnPackingListAndOrder
    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
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      CreateNotVariatedResource
      ChangePackingListLineResource
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionResource
      Tic
      CheckPackingListIsSolved
      CheckSimulationMovementHasRecordedResource
      ChangeOrderLineResource
      Tic
      CheckPackingListIsSolved
    > CheckSimulationMovementHasNoRecordedResource
  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 996, in stepCheckSimulationMovementHasNoRecordedResource
    self._checkRecordedProperty(movement_list, 'resource', False)
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5/tests/testPackingList.py", line 972, in _checkRecordedProperty
    self.assertFalse(simulation_movement.isPropertyRecorded(property_id))
AssertionError


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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 1282, 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 136, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, 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 551, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_simulation/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, 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 215, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
  Module Products.ERP5.Document.BusinessProcess, line 727, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts



FAIL: test_01_TestReportLineChangeQuantity (testTaskReportDivergence.TestTaskReportDivergence)
----------------------------------------------------------------------
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/testTaskReportDivergence.py", line 175, in test_01_TestReportLineChangeQuantity
    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:
      SetStrictSecurity
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateProject
      CreateRequirement
      CreateSimpleTask
      CreateCurrency
      FillTaskWithData
      SetTaskPriceCurrency
      ConfirmTask
      Tic
      SetTaskReport
    > CheckTaskReportIsSolved
      ChangeTaskReportLineQuantity
      CheckTaskReportIsCalculating
      Tic
      CheckTaskReportIsDiverged
  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/testTaskReportDivergence.py", line 64, in stepCheckTaskReportIsSolved
    self.assertEquals('solved', task_report.getCausalityState())
AssertionError: 'solved' != 'diverged'


FAIL: test_02_TestReportListChangeDestination (testTaskReportDivergence.TestTaskReportDivergence)
----------------------------------------------------------------------
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/testTaskReportDivergence.py", line 199, in test_02_TestReportListChangeDestination
    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:
      SetStrictSecurity
      Login
      CreateOrganisation
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateProject
      CreateRequirement
      CreateSimpleTask
      CreateCurrency
      FillTaskWithData
      SetTaskPriceCurrency
      ConfirmTask
      Tic
      SetTaskReport
    > CheckTaskReportIsSolved
      ChangeTaskReportDestination
      CheckTaskReportIsCalculating
      Tic
      CheckTaskReportIsDiverged
  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/testTaskReportDivergence.py", line 64, in stepCheckTaskReportIsSolved
    self.assertEquals('solved', task_report.getCausalityState())
AssertionError: 'solved' != 'diverged'


FAIL: test_03_TaskReportChangeStartDate (testTaskReportDivergence.TestTaskReportDivergence)
----------------------------------------------------------------------
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/testTaskReportDivergence.py", line 226, in test_03_TaskReportChangeStartDate
    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:
      SetStrictSecurity
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateProject
      CreateRequirement
      CreateSimpleTask
      CreateCurrency
      FillTaskWithData
      SetTaskPriceCurrency
      ConfirmTask
      Tic
      SetTaskReport
    > CheckTaskReportIsSolved
      ChangeCommentOnTaskReport
      ChangeTaskReportStartDate
      CheckTaskReportIsCalculating
      Tic
      CheckTaskReportIsDiverged
      AcceptDateDecision
      Tic
      CheckTaskReportIsSolved
      CheckCommentStillOnTaskReport
  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/testTaskReportDivergence.py", line 64, in stepCheckTaskReportIsSolved
    self.assertEquals('solved', task_report.getCausalityState())
AssertionError: 'solved' != 'diverged'


More information about the Erp5-report mailing list