--- summary 
+++ summary 
@@ -1,10 +1,10 @@
 Test Suite: ERP5_simulation
-Revision: 42802
+Revision: 42832
 Result: FAIL
 
 All tests: 332
-Failures: 42
-Errors: 117
+Failures: 75
+Errors: 219
 Skips: 5
 
 
@@ -39,11 +39,30 @@
    test_06_MultiLineInvoice (testAccountingRules.TestPurchaseAccountingRules), Multiple lines invoice.
    test_planning_invoice_creates_simulation (testAccountingRules.TestPurchaseAccountingRules)
 
-  testAdvancedInvoicing                              (1 failures, 3 errors)
+  testAdvancedInvoicing                              (23 errors)
+   test_01_TwoInvoicesFromTwoPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_02_InvoiceDeletePackingListLine (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_03_InvoiceDecreaseQuantity (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_04_InvoiceChangeStartDateFail (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_05_AcceptDecisionOnPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_06_AcceptDecisionOnPackingListAndInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_07_SplitAndDeferInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_08_AcceptDecisionOnInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_09_Reference (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_10_ManuallyAddedMovements (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_11_ManuallyAddedMovementsManyTransactions (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_12_compareInvoiceAndPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
    test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
    test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
+   test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
+   test_InvoiceViewAsODT (testAdvancedInvoicing.TestAdvancedSaleInvoice), Create ODT printout
+   test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Accept divergence with stopped packing list
    test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Adopt quantity with stopped packing list
-   test_04_InvoiceChangeStartDateFail (testAdvancedInvoicing.TestAdvancedSaleInvoice)
+   test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), test creating simple invoice and accounting transaction
+   test_InvoiceViewAsODT (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Create ODT printout
+   test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedPurchaseInvoice)
 
   testBPMCore                                        (6 failures, 6 errors)
    test_BuinessPathDynamicCategoryAccessProvider (testBPMCore.TestBPMImplementation)
@@ -65,42 +84,123 @@
    test_confirming (testBPMEvaluation.TestOrderDifferentProcess)
    test_starting (testBPMEvaluation.TestPackingListDifferentProcess)
 
-  testConversionInSimulation                         (4 failures)
+  testConversionInSimulation                         (7 errors)
    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_purchase_packing_list_source_total_asset_price (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_01_simulation_movement_destination_asset_price (testConversionInSimulation.TestConversionInSimulation)
+   test_01_simulation_movement_source_asset_price (testConversionInSimulation.TestConversionInSimulation)
+
+  testDeliveryBuilderToSupportMultipleLines          (4 errors)
+   test_01_IfNested (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
+   test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
    test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
    test_04_MergingMultipleSaleOrders (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
 
-  testDivergenceTester                               (5 errors)
+  testDivergenceTester                               (4 failures, 1 errors)
+   test_QuantityDivergenceTesterCompareMethod (testDivergenceTester.TestDivergenceTester)
    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)
+  testImmobilisation                                 (13 failures, 5 errors)
+   test_09_TestAmortisationPriceAndSimulationForLinearAmortisation (testImmobilisation.TestImmobilisation)
+   test_10_TestAmortisationPriceForDegressiveAmortisation (testImmobilisation.TestImmobilisation)
+   test_11_TestAmortisationPriceAndSimulationForUncontinuousDegressiveAmortisation (testImmobilisation.TestImmobilisation)
+   test_12_TestAmortisationPriceForActualUseDegressiveAmortisation (testImmobilisation.TestImmobilisation)
+   test_13_TestAmortisationPriceForNoAmortisationMethod (testImmobilisation.TestImmobilisation)
+   test_05_TestImmobilisationPeriodsWithContinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
+   test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
+   test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
+   test_08_TestImmobilisationPeriodsWithUncontinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
+   test_14_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
+   test_15_TestOwnerChangeSimulationForUnContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
+   test_16_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
+   test_17_TestMonthlyAmortisation (testImmobilisation.TestImmobilisation)
+   test_18_TestAccountingBuilding (testImmobilisation.TestImmobilisation)
+   test_19BIS_TestAccountingBuildAndOwngerChange (testImmobilisation.TestImmobilisation)
    test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
    test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
-
-  testInvoice                                        (6 failures, 1 errors)
+   test_21_TestSimulationBuildingWithValidatedTransactions (testImmobilisation.TestImmobilisation)
+
+  testInvoice                                        (53 errors)
+   test_01_SimpleInvoice (testInvoice.TestSaleInvoice)
+   test_01_quantity_unit_copied (testInvoice.TestSaleInvoice)
+   test_02_TwoInvoicesFromTwoPackingList (testInvoice.TestSaleInvoice)
+   test_03_InvoiceEditAndInvoiceRule (testInvoice.TestSaleInvoice)
+   test_04_PackingListEditAndInvoiceRule (testInvoice.TestSaleInvoice)
+   test_05_InvoiceEditPackingListLine (testInvoice.TestSaleInvoice)
+   test_06_InvoiceDeletePackingListLine (testInvoice.TestSaleInvoice)
    test_07_InvoiceAddPackingListLine (testInvoice.TestSaleInvoice)
+   test_08_InvoiceDecreaseQuantity (testInvoice.TestSaleInvoice)
    test_09_InvoiceChangeStartDateFail (testInvoice.TestSaleInvoice)
    test_09b_InvoiceChangeStartDateSucceed (testInvoice.TestSaleInvoice)
+   test_10_AcceptDecisionOnPackingList (testInvoice.TestSaleInvoice)
+   test_11_AcceptDecisionOnPackingListAndInvoice (testInvoice.TestSaleInvoice)
+   test_12_SplitPackingListAndAcceptInvoice (testInvoice.TestSaleInvoice)
+   test_13_SplitAndDeferInvoice (testInvoice.TestSaleInvoice)
+   test_14_AcceptDecisionOnInvoice (testInvoice.TestSaleInvoice)
+   test_16_ManuallyAddedMovements (testInvoice.TestSaleInvoice)
+   test_16a_ManuallyAddedMovementsManyTransactions (testInvoice.TestSaleInvoice)
+   test_17_ManuallyAddedWrongMovements (testInvoice.TestSaleInvoice)
+   test_18_compareInvoiceAndPackingList (testInvoice.TestSaleInvoice)
+   test_CopyAndPaste (testInvoice.TestSaleInvoice), Test copy on paste on Invoice.
+   test_Invoice_viewAsODT (testInvoice.TestSaleInvoice)
+   test_Invoice_viewAsODT_empty_image (testInvoice.TestSaleInvoice)
+   test_Invoice_viewAsODT_invalid_image (testInvoice.TestSaleInvoice)
+   test_Reference (testInvoice.TestSaleInvoice)
+   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testInvoice.TestSaleInvoice)
+   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestSaleInvoice)
+   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestSaleInvoice)
+   test_delivery_mode_and_incoterm_on_invoice (testInvoice.TestSaleInvoice)
+   test_description_copied_on_lines (testInvoice.TestSaleInvoice)
+   test_invoice_building_with_cells (testInvoice.TestSaleInvoice)
+   test_invoice_building_with_cells_and_aggregate (testInvoice.TestSaleInvoice)
+   test_invoice_created_from_packing_list_with_no_order (testInvoice.TestSaleInvoice)
+   test_invoice_transaction_line_resource (testInvoice.TestSaleInvoice)
    test_modify_planned_order_invoice_transaction_rule (testInvoice.TestSaleInvoice)
    test_modify_planned_order_invoicing_rule (testInvoice.TestSaleInvoice)
+   test_subcontent_reindexing (testInvoice.TestSaleInvoice), Tests, that modification on Order are propagated to lines and cells
+   test_01_quantity_unit_copied (testInvoice.TestPurchaseInvoice)
+   test_CopyAndPaste (testInvoice.TestPurchaseInvoice), Test copy on paste on Invoice.
+   test_Invoice_viewAsODT (testInvoice.TestPurchaseInvoice)
+   test_Invoice_viewAsODT_empty_image (testInvoice.TestPurchaseInvoice)
+   test_Invoice_viewAsODT_invalid_image (testInvoice.TestPurchaseInvoice)
+   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)
+   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)
+   test_delivery_mode_and_incoterm_on_invoice (testInvoice.TestPurchaseInvoice)
+   test_description_copied_on_lines (testInvoice.TestPurchaseInvoice)
+   test_invoice_building_with_cells (testInvoice.TestPurchaseInvoice)
+   test_invoice_building_with_cells_and_aggregate (testInvoice.TestPurchaseInvoice)
+   test_invoice_created_from_packing_list_with_no_order (testInvoice.TestPurchaseInvoice)
+   test_invoice_transaction_line_resource (testInvoice.TestPurchaseInvoice)
    test_modify_planned_order_invoice_transaction_rule (testInvoice.TestPurchaseInvoice)
    test_modify_planned_order_invoicing_rule (testInvoice.TestPurchaseInvoice)
-
-  testItem                                           (2 failures, 11 errors)
+   test_subcontent_reindexing (testInvoice.TestPurchaseInvoice), Tests, that modification on Order are propagated to lines and cells
+
+  testItem                                           (25 errors)
+   test_01_ItemSimpleTest (testItem.TestItem)
+   test_02_ItemWithInvoice (testItem.TestItem)
+   test_03_CreateItemsFromPackingListLine (testItem.TestItem)
+   test_04_CreateItemsFromPackingListLineWithVariationDefined (testItem.TestItem)
+   test_05_CreateItemsFromPackingListLineWithNotVariatedResource (testItem.TestItem)
    test_06_VerifyHavingSameItemTwiceOnMovementCausesNoBug (testItem.TestItem)
+   test_07_WithPackingListChangePackingListQuantityAndAccept (testItem.TestItem)
+   test_08_ChangePackingListDateAndAccept (testItem.TestItem)
+   test_09_ChangeOrderDateAndAcceptOnPackingList (testItem.TestItem)
+   test_10_ChangeOrderQuantityAndAdoptOnPackingList (testItem.TestItem)
+   test_11_ChangeOrderQuantityAndAcceptOnPackingList (testItem.TestItem)
    test_12_CreteSameResourceDifferentItemOrderLines (testItem.TestItem)
+   test_13_CreateSameResourceDiffrentItemOrderLinesThenChangeTheOrderLinesDate (testItem.TestItem)
+   test_14_ManuallyAddPackingListWithItem (testItem.TestItem)
+   test_15_ThreeOrderLines (testItem.TestItem)
+   test_select_item_dialog_no_variation (testItem.TestItem)
    test_select_item_dialog_variation (testItem.TestItem)
    test_Item_getCurrentOwnerTitle (testItem.TestItemScripts)
    test_Item_getCurrentOwnerValue (testItem.TestItemScripts)
@@ -110,8 +210,6 @@
    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)
@@ -122,23 +220,60 @@
    test_02_maxDelayResourceOrderBuilder (testOrderBuilder.TestOrderBuilder)
    test_03_minFlowResourceOrderBuilder (testOrderBuilder.TestOrderBuilder)
 
-  testPackingList                                    (16 failures)
+  testPackingList                                    (51 failures, 2 errors)
+   test_16_simulation_reindexation_on_cancel (testPackingList.TestPackingList)
+   test_16_simulation_reindexation_on_cancel (testPackingList.TestPurchasePackingList)
+   test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)
+   test_02_PackingListChangeDestination (testPackingList.TestPackingList)
+   test_03_PackingListChangeStartDate (testPackingList.TestPackingList)
+   test_04_PackingListDeleteLine (testPackingList.TestPackingList)
+   test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
+   test_05a_SimulationChangeQuantityAndAcceptDecision (testPackingList.TestPackingList)
+   test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPackingList)
+   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testPackingList.TestPackingList)
    test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testPackingList.TestPackingList)
+   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testPackingList.TestPackingList)
    test_05f_SimulationChangeAndPartialAcceptDecision (testPackingList.TestPackingList)
    test_06_SimulationChangeStartDate (testPackingList.TestPackingList)
    test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
    test_07a_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
+   test_08_AddContainers (testPackingList.TestPackingList)
    test_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
+   test_10_PackingListIncreaseQuantity (testPackingList.TestPackingList)
    test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
+   test_12_PackingListLineChangeResource (testPackingList.TestPackingList)
+   test_15_CheckBuilderCanBeCalledTwiceSafely (testPackingList.TestPackingList)
+   test_17_PackingListOrderLineWithAccount (testPackingList.TestPackingList)
+   test_18_ChangeQuantityOnPackingListAndOrder (testPackingList.TestPackingList)
    test_19_ChangeResourceOnPackingListAndOrder (testPackingList.TestPackingList)
+   test_SplitAndDeferDoNothing (testPackingList.TestPackingList)
+   test_01_PackingListDecreaseQuantity (testPackingList.TestSolvingPackingList)
+   test_02_PackingListDecreaseQuantity (testPackingList.TestSolvingPackingList)
+   test_09_AddContainersWithVariatedResources (testPackingList.TestSolvingPackingList)
+   test_01_PackingListDecreaseQuantity (testPackingList.TestPurchasePackingList)
+   test_02_PackingListChangeDestination (testPackingList.TestPurchasePackingList)
+   test_03_PackingListChangeStartDate (testPackingList.TestPurchasePackingList)
+   test_04_PackingListDeleteLine (testPackingList.TestPurchasePackingList)
+   test_05_SimulationChangeQuantity (testPackingList.TestPurchasePackingList)
+   test_05a_SimulationChangeQuantityAndAcceptDecision (testPackingList.TestPurchasePackingList)
+   test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPurchasePackingList)
+   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testPackingList.TestPurchasePackingList)
    test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testPackingList.TestPurchasePackingList)
+   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testPackingList.TestPurchasePackingList)
    test_05f_SimulationChangeAndPartialAcceptDecision (testPackingList.TestPurchasePackingList)
    test_06_SimulationChangeStartDate (testPackingList.TestPurchasePackingList)
    test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPurchasePackingList)
    test_07a_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPurchasePackingList)
+   test_08_AddContainers (testPackingList.TestPurchasePackingList)
    test_09_AddContainersWithVariatedResources (testPackingList.TestPurchasePackingList)
+   test_10_PackingListIncreaseQuantity (testPackingList.TestPurchasePackingList)
    test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPurchasePackingList)
+   test_12_PackingListLineChangeResource (testPackingList.TestPurchasePackingList)
+   test_15_CheckBuilderCanBeCalledTwiceSafely (testPackingList.TestPurchasePackingList)
+   test_17_PackingListOrderLineWithAccount (testPackingList.TestPurchasePackingList)
+   test_18_ChangeQuantityOnPackingListAndOrder (testPackingList.TestPurchasePackingList)
    test_19_ChangeResourceOnPackingListAndOrder (testPackingList.TestPurchasePackingList)
+   test_SplitAndDeferDoNothing (testPackingList.TestPurchasePackingList)
 
   testProductionOrder                                (8 errors)
    test_01_testProductionSimulationExpand (testProductionOrder.TestProductionOrder)
@@ -161,7 +296,7 @@
   testProductionPackingList                          (1 errors)
    test_01_sourcingDelivery (testProductionPackingList.TestProductionDelivery)
 
-  testProject                                        (1 errors)
+  testProject                                        (1 failures)
    testProject_getSourceProjectRelatedTaskReportList (testProject.TestProject)
 
   testReturnedSalePackingList                        (3 errors)
@@ -169,7 +304,7 @@
    test_02_ReturnedSalePackingListWorkflow (testReturnedSalePackingList.TestReturnedSalePackingList)
    test_03_ReturnedSalePackingListWorkflowFail (testReturnedSalePackingList.TestReturnedSalePackingList)
 
-  testTaskReportDivergence                           (3 failures, 1 skips)
+  testTaskReportDivergence                           (3 errors, 1 skips)
    test_01_TestReportLineChangeQuantity (testTaskReportDivergence.TestTaskReportDivergence)
    test_02_TestReportListChangeDestination (testTaskReportDivergence.TestTaskReportDivergence)
    test_03_TaskReportChangeStartDate (testTaskReportDivergence.TestTaskReportDivergence)
