[Erp5-report] ERP5-CONFIG-MASTER rNone : 4361 Tests, 161 Errors, 59 Failures, 241 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 18 07:38:37 CET 2012


Test Suite: ERP5-CONFIG-MASTER
Revision: slapos=1852-c77cac81235e17115f35594d6dfdc16963377bf0,erp5=40484-3268d01e2153234f6408a9d633cc25e66f0b0626
Result: FAIL

All tests: 4361
Failures: 59
Errors: 161
Skips: 241

 http://erp5.nexedi.com/test_result_module/20120117-40E0B6A2/view


The following tests failed:

  testAccountingReports                              (11 failures)
   testAccountStatement (testAccountingReports.TestAccountingReports)
   testAccountStatementCancellationAmount (testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateDetailedSummaryGroupedAtFromDate (testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateSummary (testAccountingReports.TestAccountingReports)
   testAccountStatementMultipleSection (testAccountingReports.TestAccountingReports)
   testAccountStatementOverMultiplePeriodsForExpenseAccounts (testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateEqualsFromDate (testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateForExpenseAccounts (testAccountingReports.TestAccountingReports)
   testGeneralLedger (testAccountingReports.TestAccountingReports)
   testGeneralLedgerGAPFilter (testAccountingReports.TestAccountingReports)
   testOtherPartiesReport (testAccountingReports.TestAccountingReports)

  testCacheTool                                      (4 failures)
   test_01_CacheFactoryOnePlugin (testCacheTool.TestCacheTool), Test cache factory containing only one cache plugin.
   test_02_CacheFactoryMultiPlugins (testCacheTool.TestCacheTool), Test a cache factory containing multiple cache plugins.
   test_05_CheckLongKeysAndLargeValues (testCacheTool.TestCacheTool), Check that persistent distributed Cache Plugin can handle keys
   test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins

  testConfiguratorItem                               (1 failures, 1 errors)
   testCategoriesSpreadsheetConfiguratorItem (testConfiguratorItem.TestConfiguratorItem), Test Portal Type Roles Configurator Item
   testOrganisationConfiguratorItem (testConfiguratorItem.TestConfiguratorItem)

  testDms                                            (2 failures, 2 skips)
   test_07_testImplicitRelations (testDms.TestDocument)
   test_convertToImageOnTraversal (testDms.TestDocument)

  testDmsWithFlare                                   (2 failures, 2 skips)
   test_07_testImplicitRelations (testDmsWithFlare.TestDocumentWithFlare)
   test_convertToImageOnTraversal (testDmsWithFlare.TestDocumentWithFlare)

  testDmsWithPreConversion                           (2 failures, 1 errors, 2 skips)
   test_preConversionOnly (testDmsWithPreConversion.TestDocumentWithPreConversion)
   test_07_testImplicitRelations (testDmsWithPreConversion.TestDocumentWithPreConversion)
   test_convertToImageOnTraversal (testDmsWithPreConversion.TestDocumentWithPreConversion)

  testERP5DocumentSyncML                             (1 errors)
   test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5SyncML                                     (2 errors)
   test_12_UpdateSimpleData (testERP5SyncML.TestERP5SyncML)
   test_30_GetSynchronizationType (testERP5SyncML.TestERP5SyncML)

  testERP5Web                                        (1 failures, 2 skips)
   test_07_WebSection_getDocumentValueList (testERP5Web.TestERP5Web), Check getting getDocumentValueList from Web Section.

  testLegacyAccounting                               (1 errors)
   test_InventoryIndexingNodeAndMirrorSection (Products.ERP5.tests.testAccounting.TestClosingPeriod)

  testLegacyAccountingReports                        (10 failures)
   testAccountStatement (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementCancellationAmount (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateDetailedSummaryGroupedAtFromDate (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateSummary (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementMultipleSection (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementOverMultiplePeriodsForExpenseAccounts (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateEqualsFromDate (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateForExpenseAccounts (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testGeneralLedger (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testOtherPartiesReport (Products.ERP5.tests.testAccountingReports.TestAccountingReports)

  testLegacyDeliveryBuilderToSupportMultipleLines    (4 errors)
   test_01_IfNested (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_02_AdoptingPrevision (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_03_AcceptingDecision (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_04_MergingMultipleSaleOrders (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)

  testLegacyDivergenceTester                         (5 errors)
   test_01_QuantityDivergenceTester (testLegacyDivergenceTester.TestDivergenceTester)

  testLegacyProjectAndTask                           (2 failures, 8 errors, 1 skips)
   test_01_testTaskBasicUseCase (Products.ERP5.tests.testTask.TestTask)
   test_01_testTaskNoPrice (Products.ERP5.tests.testTask.TestTask)
   test_02_testMultipleLineTaskBasicUseCase (Products.ERP5.tests.testTask.TestTask)
   test_04_checkNotMergedTaskReportLine (Products.ERP5.tests.testTask.TestTask)
   test_05_testStrictSimulationSecurity (Products.ERP5.tests.testTask.TestTask), Test creation of task and (automatic) task_report with strict
   test_01_TestReportLineChangeQuantity (Products.ERP5.tests.testTaskReportDivergence.TestTaskReportDivergence)
   test_02_TestReportListChangeDestination (Products.ERP5.tests.testTaskReportDivergence.TestTaskReportDivergence)
   test_03_TaskReportChangeStartDate (Products.ERP5.tests.testTaskReportDivergence.TestTaskReportDivergence)
   test_03_testTaskReportBasicUseCase (Products.ERP5.tests.testTask.TestTask)
   testProjectMontlyReport (Products.ERP5.tests.testTaskReporting.TestTaskReporting)

  testLegacySimulationAdvancedInvoicing              (20 errors)
   test_01_TwoInvoicesFromTwoPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_02_InvoiceDeletePackingListLine (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_03_InvoiceDecreaseQuantity (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_04_InvoiceChangeStartDateFail (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_05_AcceptDecisionOnPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_06_AcceptDecisionOnPackingListAndInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_07_SplitAndDeferInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_08_AcceptDecisionOnInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_10_ManuallyAddedMovements (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_11_ManuallyAddedMovementsManyTransactions (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_12_compareInvoiceAndPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
   test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
   test_CreatingAccountingTransactionThroughInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
   test_PackingListEditAndInvoiceRule (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Accept divergence with stopped packing list
   test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Adopt quantity with stopped packing list
   test_CreatingAccountingTransactionThroughInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice), test creating simple invoice and accounting transaction
   test_PackingListEditAndInvoiceRule (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice)

  testLegacySimulationInventory                      (4 errors)
   test_01_getInventory (Products.ERP5.tests.testInventory.TestInventory)
   test_02_InventoryModule (Products.ERP5.tests.testInventory.TestInventory)
   test_03_InventoryModuleWithVariation (Products.ERP5.tests.testInventory.TestInventory)
   test_04_InventoryModuleWithVariationAndMultiQuantityUnit (Products.ERP5.tests.testInventory.TestInventory)

  testLegacySimulationInvoice                        (10 failures, 30 errors)
   test_01_SimpleInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_02_TwoInvoicesFromTwoPackingList (testLegacySimulationInvoice.TestSaleInvoice)
   test_03_InvoiceEditAndInvoiceRule (testLegacySimulationInvoice.TestSaleInvoice)
   test_04_PackingListEditAndInvoiceRule (testLegacySimulationInvoice.TestSaleInvoice)
   test_05_InvoiceEditPackingListLine (testLegacySimulationInvoice.TestSaleInvoice)
   test_06_InvoiceDeletePackingListLine (testLegacySimulationInvoice.TestSaleInvoice)
   test_07_InvoiceAddPackingListLine (testLegacySimulationInvoice.TestSaleInvoice)
   test_08_InvoiceDecreaseQuantity (testLegacySimulationInvoice.TestSaleInvoice)
   test_09_InvoiceChangeStartDateFail (testLegacySimulationInvoice.TestSaleInvoice)
   test_09b_InvoiceChangeStartDateSucceed (testLegacySimulationInvoice.TestSaleInvoice)
   test_10_AcceptDecisionOnPackingList (testLegacySimulationInvoice.TestSaleInvoice)
   test_11_AcceptDecisionOnPackingListAndInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_12_SplitPackingListAndAcceptInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_13_SplitAndDeferInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_14_AcceptDecisionOnInvoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_16_ManuallyAddedMovements (testLegacySimulationInvoice.TestSaleInvoice)
   test_16a_ManuallyAddedMovementsManyTransactions (testLegacySimulationInvoice.TestSaleInvoice)
   test_17_ManuallyAddedWrongMovements (testLegacySimulationInvoice.TestSaleInvoice)
   test_18_compareInvoiceAndPackingList (testLegacySimulationInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testLegacySimulationInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testLegacySimulationInvoice.TestSaleInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testLegacySimulationInvoice.TestSaleInvoice)
   test_invoice_transaction_line_resource (testLegacySimulationInvoice.TestSaleInvoice)
   test_modify_planned_order_invoice_transaction_rule (testLegacySimulationInvoice.TestSaleInvoice)
   test_modify_planned_order_invoicing_rule (testLegacySimulationInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_invoice_transaction_line_resource (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_modify_planned_order_invoice_transaction_rule (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_modify_planned_order_invoicing_rule (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_01_quantity_unit_copied (testLegacySimulationInvoice.TestSaleInvoice)
   test_delivery_mode_and_incoterm_on_invoice (testLegacySimulationInvoice.TestSaleInvoice)
   test_description_copied_on_lines (testLegacySimulationInvoice.TestSaleInvoice)
   test_invoice_building_with_cells (testLegacySimulationInvoice.TestSaleInvoice)
   test_invoice_building_with_cells_and_aggregate (testLegacySimulationInvoice.TestSaleInvoice)
   test_01_quantity_unit_copied (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_delivery_mode_and_incoterm_on_invoice (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_description_copied_on_lines (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_invoice_building_with_cells (testLegacySimulationInvoice.TestPurchaseInvoice)
   test_invoice_building_with_cells_and_aggregate (testLegacySimulationInvoice.TestPurchaseInvoice)

  testLegacySimulationItem                           (1 failures, 11 errors)
   test_01_ItemSimpleTest (Products.ERP5.tests.testItem.TestItem)
   test_02_ItemWithInvoice (Products.ERP5.tests.testItem.TestItem)
   test_07_WithPackingListChangePackingListQuantityAndAccept (Products.ERP5.tests.testItem.TestItem)
   test_08_ChangePackingListDateAndAccept (Products.ERP5.tests.testItem.TestItem)
   test_09_ChangeOrderDateAndAcceptOnPackingList (Products.ERP5.tests.testItem.TestItem)
   test_10_ChangeOrderQuantityAndAdoptOnPackingList (Products.ERP5.tests.testItem.TestItem)
   test_11_ChangeOrderQuantityAndAcceptOnPackingList (Products.ERP5.tests.testItem.TestItem)
   test_12_CreteSameResourceDifferentItemOrderLines (Products.ERP5.tests.testItem.TestItem)
   test_13_CreateSameResourceDiffrentItemOrderLinesThenChangeTheOrderLinesDate (Products.ERP5.tests.testItem.TestItem)
   test_14_ManuallyAddPackingListWithItem (Products.ERP5.tests.testItem.TestItem)
   test_15_ThreeOrderLines (Products.ERP5.tests.testItem.TestItem)
   test_06_VerifyHavingSameItemTwiceOnMovementCausesNoBug (Products.ERP5.tests.testItem.TestItem)

  testLegacySimulationOrder                          (1 failures, 7 errors)
   test_12_testAppliedRuleGeneration (Products.ERP5.tests.testOrder.TestOrder)
   test_13_testAppliedRuleUpdate (Products.ERP5.tests.testOrder.TestOrder)
   test_15_deliveryBuilder (Products.ERP5.tests.testOrder.TestOrder)
   test_16_deliveryBuilderWithNoTic (Products.ERP5.tests.testOrder.TestOrder)
   test_17_orderExpand (Products.ERP5.tests.testOrder.TestOrder)
   test_18_SimulationStateIndexation (Products.ERP5.tests.testOrder.TestOrder)
   test_20_testHierarchicalOrderAppliedRuleGeneration (Products.ERP5.tests.testOrder.TestOrder)
   test_order_payment_condition_copied (Products.ERP5.tests.testOrder.TestOrder)

  testLegacySimulationPackingList                    (51 errors)
   test_01_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestPackingList)
   test_02_PackingListChangeDestination (testLegacySimulationPackingList.TestPackingList)
   test_03_PackingListChangeStartDate (testLegacySimulationPackingList.TestPackingList)
   test_04_PackingListDeleteLine (testLegacySimulationPackingList.TestPackingList)
   test_05_SimulationChangeQuantity (testLegacySimulationPackingList.TestPackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testLegacySimulationPackingList.TestPackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testLegacySimulationPackingList.TestPackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testLegacySimulationPackingList.TestPackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testLegacySimulationPackingList.TestPackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testLegacySimulationPackingList.TestPackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testLegacySimulationPackingList.TestPackingList)
   test_06_SimulationChangeStartDate (testLegacySimulationPackingList.TestPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testLegacySimulationPackingList.TestPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testLegacySimulationPackingList.TestPackingList)
   test_08_AddContainers (testLegacySimulationPackingList.TestPackingList)
   test_09_AddContainersWithVariatedResources (testLegacySimulationPackingList.TestPackingList)
   test_10_PackingListIncreaseQuantity (testLegacySimulationPackingList.TestPackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacySimulationPackingList.TestPackingList)
   test_12_PackingListLineChangeResource (testLegacySimulationPackingList.TestPackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testLegacySimulationPackingList.TestPackingList)
   test_17_PackingListOrderLineWithAccount (testLegacySimulationPackingList.TestPackingList)
   test_18_ChangeQuantityOnPackingListAndOrder (testLegacySimulationPackingList.TestPackingList)
   test_19_ChangeResourceOnPackingListAndOrder (testLegacySimulationPackingList.TestPackingList)
   test_SplitAndDeferDoNothing (testLegacySimulationPackingList.TestPackingList)
   test_01_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestSolvingPackingList)
   test_02_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestSolvingPackingList)
   test_09_AddContainersWithVariatedResources (testLegacySimulationPackingList.TestSolvingPackingList)
   test_01_PackingListDecreaseQuantity (testLegacySimulationPackingList.TestPurchasePackingList)
   test_02_PackingListChangeDestination (testLegacySimulationPackingList.TestPurchasePackingList)
   test_03_PackingListChangeStartDate (testLegacySimulationPackingList.TestPurchasePackingList)
   test_04_PackingListDeleteLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05_SimulationChangeQuantity (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testLegacySimulationPackingList.TestPurchasePackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testLegacySimulationPackingList.TestPurchasePackingList)
   test_06_SimulationChangeStartDate (testLegacySimulationPackingList.TestPurchasePackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testLegacySimulationPackingList.TestPurchasePackingList)
   test_08_AddContainers (testLegacySimulationPackingList.TestPurchasePackingList)
   test_09_AddContainersWithVariatedResources (testLegacySimulationPackingList.TestPurchasePackingList)
   test_10_PackingListIncreaseQuantity (testLegacySimulationPackingList.TestPurchasePackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacySimulationPackingList.TestPurchasePackingList)
   test_12_PackingListLineChangeResource (testLegacySimulationPackingList.TestPurchasePackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testLegacySimulationPackingList.TestPurchasePackingList)
   test_17_PackingListOrderLineWithAccount (testLegacySimulationPackingList.TestPurchasePackingList)
   test_18_ChangeQuantityOnPackingListAndOrder (testLegacySimulationPackingList.TestPurchasePackingList)
   test_19_ChangeResourceOnPackingListAndOrder (testLegacySimulationPackingList.TestPurchasePackingList)
   test_SplitAndDeferDoNothing (testLegacySimulationPackingList.TestPurchasePackingList)

  testLegacySimulationProductionApparel              (5 failures, 2 errors)
   test_04_testProductionSimulationBuild (Products.ERP5.tests.testProductionOrderApparel.TestProductionOrderApparel)
   test_06_testIndustrialPhase (Products.ERP5.tests.testProductionOrderApparel.TestProductionOrderApparel)
   test_01_testProductionSimulationExpand (Products.ERP5.tests.testProductionOrderApparel.TestProductionOrderApparel)
   test_02_testSourcingSimulationExpand (Products.ERP5.tests.testProductionOrderApparel.TestProductionOrderApparel)
   test_03_testIndustrialPhase (Products.ERP5.tests.testProductionOrderApparel.TestProductionOrderApparel)
   test_05_testSourcingSimulationBuild (Products.ERP5.tests.testProductionOrderApparel.TestProductionOrderApparel)
   test_01_sourcingDelivery (Products.ERP5.tests.testProductionPackingListApparel.TestProductionDeliveryApparel)

  testLegacyTradeModelLine                           (2 failures)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testOOoConversionCache                             (1 failures, 6 errors)
   test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
   test_03_CacheConversionOfTempObjectIsNotMixed (testOOoConversionCache.TestDocumentConversionCache)
   test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
   test_07_check_cache_key_is_escaped (testOOoConversionCache.TestDocumentConversionCache)
   test_08_check_conversion_cache_with_portal_document_type_list (testOOoConversionCache.TestDocumentConversionCache), Check cache conversion for all Portal Document Types
   test_image_conversion (testOOoConversionCache.TestDocumentConversionCache)
   test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)

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

  testStandardConfigurationWorkflow                  (7 errors)
   test_consulting_workflow (testStandardConfigurationWorkflow.TestConsultingConfiguratorWorkflow), Test the consulting workflow configuration
   test_after_configuration_standard_workflow_france (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the after configuration script
   test_security_standard_workflow_france (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the after configuration script
   test_standard_workflow_brazil (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the standard workflow with brazilian configuration
   test_standard_workflow_brazil_with_previous (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), This time we must simulate the previous buttom
   test_standard_workflow_france (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the standard workflow with french configuration
   test_standard_workflow_russia (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the standard workflow with russian configuration

  testTemplateTool                                   (1 failures)
   test_resolveBusinessTemplateListDependency (testTemplateTool.TestTemplateTool), Test API able to return a complete list of bt5s to setup a sub set of

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

The following tests were at least partly skipped:

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (4 skips)

  testBPMEvaluation                                  (40 skips)
   test_confirming (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_confirming (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'

  testBase                                           (3 skips)
   test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'

  testBusinessTemplate                               (2 skips)

  testCRM                                            (3 skips)

  testConversionInSimulation                         (4 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (2 skips)

  testDmsWithFlare                                   (2 skips)

  testDmsWithPreConversion                           (2 skips)

  testERP5Base                                       (1 skips)

  testERP5Catalog                                    (4 skips)
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Interfaces                                 (9 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (2 skips)

  testFormPrintoutAsODG                              (1 skips)

  testFormPrintoutAsODT                              (1 skips)
   test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'

  testICal                                           (1 skips)

  testImmobilisation                                 (2 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (7 skips)

  testItem                                           (13 skips)

  testKM                                             (3 skips)

  testLegacyMRP                                      (4 skips)
   test_TransformationRule_expand_concurrent (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'

  testLegacyProjectAndTask                           (1 skips)

  testLegacySimulationInventoryAPI                   (2 skips)

  testMRP                                            (5 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'

  testMaxmaDemoConfigurationWorkflow                 (1 skips)

  testOpenOrder                                      (3 skips)

  testOrderBuilder                                   (4 skips)

  testOxatisSynchronization                          (1 skips)

  testPersonERP5Synchronization                      (7 skips)
   test_PrestashopComplexeUpdateElement (testPersonERP5Synchronization.TestPersonERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDeletePerson (testPersonERP5Synchronization.TestPersonERP5Synchronization), Check that the delete during a person's sync invalidate the person. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithAddressNoMappingSync (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the person sync with an address and no mapping. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithMultipleAddressSync (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the person sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithSingleAddressSync (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the person sync with an address. ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the person sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateSimpleElement (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the simple update after sync of persons. ... skipped 'must be checked against zope2.12'

  testPersonPrestashopSynchronization                (6 skips)
   test_PrestashopComplexeUpdateElement (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDeletePerson (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), Check that the delete during a person's sync invalidate the person. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithMultipleAddressSync (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), This test checks the person sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithSingleAddressSync (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), This test checks the person sync with an address. ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), This test checks the person sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateSimpleElement (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), This test checks the simple update after sync of persons. ... skipped 'must be checked against zope2.12'

  testPreferences                                    (1 skips)

  testProductERP5Synchronization                     (8 skips)
   test_PrestashopComplexeUpdateElement (testProductERP5Synchronization.TestProductERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDeleteProduct (testProductERP5Synchronization.TestProductERP5Synchronization), Check that delete during a product's sync invalidate the product. ... skipped 'must be checked against zope2.12'
   test_PrestashopDifferentKindVariationsSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test check the product sync with the two kind of variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopIndividualVariationSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test check the product sync with individual variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopMultipleSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test check the multiple product sync. ... skipped 'must be checked against zope2.12'
   test_PrestashopSharedVariationSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test check the product sync with shared variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test checks the product sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateSimpleElement (testProductERP5Synchronization.TestProductERP5Synchronization), This test checks the simple update after sync of products. ... skipped 'must be checked against zope2.12'

  testProductPrestashopSynchronization               (8 skips)
   test_PrestashopComplexeUpdateElement (testProductPrestashopSynchronization.TestProductPrestashopSynchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDeleteProduct (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), Check that delete during a product's sync invalidate the product. ... skipped 'must be checked against zope2.12'
   test_PrestashopDifferentKindVariationsSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test check the product sync with the two kind of variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopIndividualVariationSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test check the product sync with individual variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopMultipleSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test check the multiple product sync. ... skipped 'must be checked against zope2.12'
   test_PrestashopSharedVariationSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test check the product sync with shared variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test checks the product sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateSimpleElement (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test checks the simple update after sync of products. ... skipped 'must be checked against zope2.12'

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testProxyField                                     (1 skips)

  testReturnedSalePackingList                        (3 skips)

  testSQLCachedWorklist                              (2 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
   test_04_dynamic_variables (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'

  testSaleOrderERP5Synchronization                   (10 skips)
   test_PrestashopDeleteDoNothing (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDiscountSync (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order with discount. ... skipped 'must be checked against zope2.12'
   test_PrestashopGenerateAccounting (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of the simplest XML for a sale order. ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncDifferentKindVariation (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order with the two kind of variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncWithIndividualVariation (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncWithSharedVariation (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order with shared variation. ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncWithoutDestination (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order without destination. ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncWithoutProduct (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order with a non-existant product. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateDoNothing (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization) ... skipped 'must be checked against zope2.12'

  testSelectionTool                                  (7 skips)
   skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   skipped 'Test to be written'
   testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
   testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'

  testShaCache                                       (1 skips)

  testShaCacheExternal                               (1 skips)

  testShaDir                                         (1 skips)

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testUbercartSynchronisation                        (1 skips)

  testVirtuemartSynchronization                      (1 skips)

  testWebDavSupport                                  (1 skips)

Attached traceback has been truncated to the first 5000 lines
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 19974 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20120118/def4fff9/attachment-0001.diff>
-------------- next part --------------

FAIL: testAccountStatement (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 841, in testAccountStatement
    running_total_price=100)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '1' actual: '6'
`debit_price`: expected: 100 actual: 600.0
`date`: expected: DateTime('2006/02/01 00:00:00 GMT') actual: DateTime('2006/02/02 00:05:00 GMT')
`running_total_price`: expected: 100 actual: 600.0
`Movement_getExplanationReference`: expected: 'ref1' actual: 'ref6'
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 6'


FAIL: testAccountStatementCancellationAmount (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 1791, in testAccountStatementCancellationAmount
    running_total_price=-100)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '1' actual: '2'
`debit_price`: expected: -100 actual: 0
`date`: expected: DateTime('2006/02/01 00:01:00 GMT') actual: DateTime('2006/02/01 00:02:00 GMT')
`credit_price`: expected: 0 actual: -200.0
`running_total_price`: expected: -100 actual: 200.0
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 2'


FAIL: testAccountStatementFromDateDetailedSummaryGroupedAtFromDate (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 1297, in testAccountStatementFromDateDetailedSummaryGroupedAtFromDate
    credit_price=200,)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '3' actual: '4'
`debit_price`: expected: 0 actual: 400.0
`date`: expected: DateTime('2006/02/25 02:03:00 GMT') actual: DateTime('2006/03/01 00:00:00 GMT')
`credit_price`: expected: 200 actual: 0
`running_total_price`: expected: 100 actual: 700.0
`Movement_getExplanationTitle`: expected: 'Transaction 3' actual: 'Transaction 4'


FAIL: testAccountStatementFromDateSummary (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 944, in testAccountStatementFromDateSummary
    running_total_price=200)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '3' actual: '6'
`debit_price`: expected: 300 actual: 600.0
`date`: expected: DateTime('2006/02/02 00:02:00 GMT') actual: DateTime('2006/02/02 00:05:00 GMT')
`running_total_price`: expected: 200 actual: 500.0
`Movement_getExplanationTitle`: expected: 'Transaction 3' actual: 'Transaction 6'


FAIL: testAccountStatementMultipleSection (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 1933, in testAccountStatementMultipleSection
    running_total_price=100)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`section_title`: expected: 'My Organisation' actual: 'My Master Organisation'
`Movement_getSpecificReference`: expected: '1' actual: '2'
`debit_price`: expected: 100 actual: 0
`date`: expected: DateTime('2006/02/01 00:00:00 GMT') actual: DateTime('2006/02/01 00:01:00 GMT')
`credit_price`: expected: 0 actual: 200.0
`running_total_price`: expected: 100 actual: -200.0
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 2'


FAIL: testAccountStatementOverMultiplePeriodsForExpenseAccounts (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 1632, in testAccountStatementOverMultiplePeriodsForExpenseAccounts
    running_total_price=-100)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '1' actual: '3'
`date`: expected: DateTime('2005/12/31 00:00:00 GMT') actual: DateTime('2006/02/02 00:00:00 GMT')
`credit_price`: expected: 100 actual: 300.0
`running_total_price`: expected: -100 actual: -300.0
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 3'


FAIL: testAccountStatementPeriodDateEqualsFromDate (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 1540, in testAccountStatementPeriodDateEqualsFromDate
    running_total_price=279)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '2' actual: '3'
`debit_price`: expected: 200 actual: 300.0
`date`: expected: DateTime('2006/01/01 00:00:00 GMT') actual: DateTime('2006/02/02 00:00:00 GMT')
`running_total_price`: expected: 279 actual: 379.0
`Movement_getExplanationTitle`: expected: 'Transaction 2' actual: 'Transaction 3'


FAIL: testAccountStatementPeriodDateForExpenseAccounts (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 1408, in testAccountStatementPeriodDateForExpenseAccounts
    running_total_price=-200)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '2' actual: '3'
`date`: expected: DateTime('2006/01/01 00:00:00 GMT') actual: DateTime('2006/02/02 00:00:00 GMT')
`credit_price`: expected: 200 actual: 300.0
`running_total_price`: expected: -200 actual: -300.0
`Movement_getExplanationTitle`: expected: 'Transaction 2' actual: 'Transaction 3'


FAIL: testGeneralLedger (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 3211, in testGeneralLedger
    debit_price=0, credit_price=100, running_total_price=-100, )
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '1' actual: '2'
`debit_price`: expected: 0 actual: 200.0
`date`: expected: DateTime('2006/02/01 00:00:00 GMT') actual: DateTime('2006/02/01 00:01:00 GMT')
`credit_price`: expected: 100 actual: 0
`running_total_price`: expected: -100 actual: 200.0
`Movement_getExplanationReference`: expected: 'ref1' actual: 'ref2'
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 2'


FAIL: testGeneralLedgerGAPFilter (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 3423, in testGeneralLedgerGAPFilter
    debit_price=0, credit_price=100, running_total_price=-100, )
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '1' actual: '2'
`debit_price`: expected: 0 actual: 200.0
`date`: expected: DateTime('2006/02/01 00:00:00 GMT') actual: DateTime('2006/02/01 00:01:00 GMT')
`credit_price`: expected: 100 actual: 0
`running_total_price`: expected: -100 actual: 200.0
`Movement_getExplanationReference`: expected: 'ref1' actual: 'ref2'
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 2'


FAIL: testOtherPartiesReport (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingReports.py", line 3747, in testOtherPartiesReport
    running_total_price=100.0)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getNodeGapId`: expected: '41' actual: '40'
`debit_price`: expected: 100 actual: 200.0
`date`: expected: DateTime('2006/02/01 00:00:00 GMT') actual: DateTime('2006/02/01 00:01:00 GMT')
`running_total_price`: expected: 100.0 actual: 200.0
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 2'


FAIL: test_01_CacheFactoryOnePlugin (testCacheTool.TestCacheTool), Test cache factory containing only one cache plugin.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 220, in test_01_CacheFactoryOnePlugin
    self._cacheFactoryInstanceTest(my_cache, cf_name, clear_allowed)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 312, in _cacheFactoryInstanceTest
    self.assertTrue(1.0 < calculation_time, "1.0 >= %s" % calculation_time)
AssertionError: 1.0 >= 0.959229946136


FAIL: test_02_CacheFactoryMultiPlugins (testCacheTool.TestCacheTool), Test a cache factory containing multiple cache plugins.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 230, in test_02_CacheFactoryMultiPlugins
    self._cacheFactoryInstanceTest(my_cache, cf_name, clear_allowed=False)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 312, in _cacheFactoryInstanceTest
    self.assertTrue(1.0 < calculation_time, "1.0 >= %s" % calculation_time)
AssertionError: 1.0 >= 0.984888076782


FAIL: test_05_CheckLongKeysAndLargeValues (testCacheTool.TestCacheTool), Check that persistent distributed Cache Plugin can handle keys
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 464, in test_05_CheckLongKeysAndLargeValues
    self.assertTrue(1.0 > calculation_time, "1.0 <= %s" % calculation_time)
AssertionError: 1.0 <= 21.0761790276


FAIL: test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 494, in test_06_CheckCacheExpiration
    self.assertTrue(calculation_time > 1.0, "%s <= 1.0" % calculation_time)
AssertionError: 0.845065116882 <= 1.0


ERROR: testCategoriesSpreadsheetConfiguratorItem (testConfiguratorItem.TestConfiguratorItem), Test Portal Type Roles Configurator Item
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Configurator/tests/testConfiguratorItem.py", line 310, in testCategoriesSpreadsheetConfiguratorItem
    item._build(bc)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Configurator/Document/CategoriesSpreadsheetConfiguratorItem.py", line 71, in _build
    self._readSpreadSheet()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Configurator/Document/CategoriesSpreadsheetConfiguratorItem.py", line 105, in _readSpreadSheet
    UnrestrictedStringIO(self.getDefaultConfigurationSpreadsheetData()))
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Zope2-2.12.21-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Zope2-2.12.21-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1308, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Zope2-2.12.21-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 92, in Base_getCategoriesSpreadSheetMapping
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/mixin/base_convertable.py", line 62, in convertToBaseFormat
    message = self._convertToBaseFormat() # Call implemetation method
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5OOo/Document/OOoDocument.py", line 452, in _convertToBaseFormat
    % (response_code, response_message))
ConversionError: OOoDocument: Error converting document to base format. (Code 402: Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/cloudooo.handler.ooo-0.2-py2.6.egg/cloudooo/handler/ooo/helper/unoconverter.py", line 351, in <module>
    main()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/cloudooo.handler.ooo-0.2-py2.6.egg/cloudooo/handler/ooo/helper/unoconverter.py", line 328, in main
    unoconverter = UnoConverter(hostname, port, document_url, **kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/cloudooo.handler.ooo-0.2-py2.6.egg/cloudooo/handler/ooo/helper/unoconverter.py", line 83, in __init__
    self._load()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/cloudooo.handler.ooo-0.2-py2.6.egg/cloudooo/handler/ooo/helper/unoconverter.py", line 162, in _load
    service_manager = helper_utils.getServiceManager(self.hostname, self.port)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/cloudooo.handler.ooo-0.2-py2.6.egg/cloudooo/handler/ooo/helper/helper_utils.py", line 12, in getServiceManager
    uno_connection = resolver.resolve("uno:socket,host=%s,port=%s;urp;StarOffice.ComponentContext" % (host, port))
helper_utils.NoConnectException: Connector : couldn't connect to socket (Success)
)


FAIL: testOrganisationConfiguratorItem (testConfiguratorItem.TestConfiguratorItem)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Configurator/tests/testConfiguratorItem.py", line 101, in testOrganisationConfiguratorItem
    organisation.getDefaultTelephoneText())
AssertionError: 'test_default_telephone_text' != ''


FAIL: test_07_testImplicitRelations (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5OOo/tests/testDms.py", line 588, in test_07_testImplicitRelations
    sqlresult_to_document_list(document5.getImplicitSuccessorValueList()))
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 522, in failIfDifferentSet
    self.assertEquals(set(a), set(b), msg)
AssertionError: [<Text at /erp5_portal_fc92b132ae366fc9ae093cfce8afc3b9/document_module/30>] != [<Text at /erp5_portal_fc92b132ae366fc9ae093cfce8afc3b9/document_module/31>]


FAIL: test_convertToImageOnTraversal (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5OOo/tests/testDms.py", line 2117, in test_convertToImageOnTraversal
    image_document_file_size_5p)
AssertionError: 3073 should be more then 3073 and 3073 should be more them 3072


FAIL: test_07_testImplicitRelations (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5OOo/tests/testDms.py", line 588, in test_07_testImplicitRelations
    sqlresult_to_document_list(document5.getImplicitSuccessorValueList()))
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 522, in failIfDifferentSet
    self.assertEquals(set(a), set(b), msg)
AssertionError: [<Text at /erp5_portal_b44a7dae5114751d714aa326815c0936/document_module/30>] != [<Text at /erp5_portal_b44a7dae5114751d714aa326815c0936/document_module/31>]


FAIL: test_convertToImageOnTraversal (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5OOo/tests/testDms.py", line 2117, in test_convertToImageOnTraversal
    image_document_file_size_5p)
AssertionError: 3073 should be more then 3073 and 3073 should be more them 3072


ERROR: test_preConversionOnly (testDmsWithPreConversion.TestDocumentWithPreConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5OOo/tests/testDms.py", line 2168, in test_preConversionOnly
    **{'format':'png', 'quality':80.0})
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5OOo/tests/testDms.py", line 262, in getURLSizeList
    identify_output.split()[2].split('x')))
IndexError: list index out of range


FAIL: test_07_testImplicitRelations (testDmsWithPreConversion.TestDocumentWithPreConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5OOo/tests/testDms.py", line 566, in test_07_testImplicitRelations
    sqlresult_to_document_list(document1.getImplicitPredecessorValueList()))
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 522, in failIfDifferentSet
    self.assertEquals(set(a), set(b), msg)
AssertionError: [<Text at /erp5_portal_d72c069f2862273b8c33b925049a5f85/document_module/33>, <Text at /erp5_portal_d72c069f2862273b8c33b925049a5f85/document_module/34>, <Text at /erp5_portal_d72c069f2862273b8c33b925049a5f85/document_module/35>, <Text at /erp5_portal_d72c069f2862273b8c33b925049a5f85/document_module/36>] != [<Text at /erp5_portal_d72c069f2862273b8c33b925049a5f85/document_module/32>, <Text at /erp5_portal_d72c069f2862273b8c33b925049a5f85/document_module/36>, <Text at /erp5_portal_d72c069f2862273b8c33b925049a5f85/document_module/34>, <Text at /erp5_portal_d72c069f2862273b8c33b925049a5f85/document_module/35>]


FAIL: test_convertToImageOnTraversal (testDmsWithPreConversion.TestDocumentWithPreConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5OOo/tests/testDms.py", line 2117, in test_convertToImageOnTraversal
    image_document_file_size_5p)
AssertionError: 3073 should be more then 3073 and 3073 should be more them 3072


ERROR: test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 640, in test_03_UpdateSimpleData
    self.synchronize(self.sub_id1)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 366, in synchronize
    result = portal_sync.SubSync(subscription.getPath())
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 1208, in SubSync
    response = self.SubSyncModif(subscription, xml_client)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 1220, in SubSyncModif
    return self.SyncModif(subscription, xml_client)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 1295, in SyncModif
    simulate=simulate)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 2204, in applyActionList
    domain=domain)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Conduit/ERP5Conduit.py", line 272, in updateNode
    **kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Conduit/ERP5Conduit.py", line 825, in applyXupdate
    xml_doc_string=previous_xml)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/xupdate_processor-0.4-py2.6.egg/xupdate_processor/xuproc.py", line 33, in applyXUpdate
    parser.parse(xml_xu)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/expatreader.py", line 353, in start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/xupdate_processor-0.4-py2.6.egg/xupdate_processor/content_handler.py", line 121, in startElementNS
    node = self.result_tree.xpath(attrs.getValueByQName('select'), namespaces=self.nsmap)[0]
IndexError: list index out of range


ERROR: test_12_UpdateSimpleData (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5SyncML/tests/testERP5SyncML.py", line 798, in test_12_UpdateSimpleData
    self.synchronize(self.sub_id1)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5SyncML/tests/testERP5SyncML.py", line 239, in synchronize
    result = portal_sync.SubSync(subscription.getPath())
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 1208, in SubSync
    response = self.SubSyncModif(subscription, xml_client)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 1220, in SubSyncModif
    return self.SyncModif(subscription, xml_client)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 1295, in SyncModif
    simulate=simulate)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 2207, in applyActionList
    xml_object = conduit.applyDiff(previous_xml, data_subnode)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Conduit/ERP5Conduit.py", line 1074, in applyDiff
    xml_doc_string=original_data), encoding='utf-8')
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/xupdate_processor-0.4-py2.6.egg/xupdate_processor/xuproc.py", line 33, in applyXUpdate
    parser.parse(xml_xu)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/expatreader.py", line 353, in start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/xupdate_processor-0.4-py2.6.egg/xupdate_processor/content_handler.py", line 121, in startElementNS
    node = self.result_tree.xpath(attrs.getValueByQName('select'), namespaces=self.nsmap)[0]
IndexError: list index out of range


ERROR: test_30_GetSynchronizationType (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5SyncML/tests/testERP5SyncML.py", line 1317, in test_30_GetSynchronizationType
    self.synchronize(self.sub_id1)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5SyncML/tests/testERP5SyncML.py", line 239, in synchronize
    result = portal_sync.SubSync(subscription.getPath())
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 1208, in SubSync
    response = self.SubSyncModif(subscription, xml_client)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 1220, in SubSyncModif
    return self.SyncModif(subscription, xml_client)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 1295, in SyncModif
    simulate=simulate)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Tool/SynchronizationTool.py", line 2207, in applyActionList
    xml_object = conduit.applyDiff(previous_xml, data_subnode)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5SyncML/Conduit/ERP5Conduit.py", line 1074, in applyDiff
    xml_doc_string=original_data), encoding='utf-8')
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/xupdate_processor-0.4-py2.6.egg/xupdate_processor/xuproc.py", line 33, in applyXUpdate
    parser.parse(xml_xu)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/PyXML-0.8.4nxd001-py2.6-linux-x86_64.egg/_xmlplus/sax/expatreader.py", line 353, in start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/xupdate_processor-0.4-py2.6.egg/xupdate_processor/content_handler.py", line 121, in startElementNS
    node = self.result_tree.xpath(attrs.getValueByQName('select'), namespaces=self.nsmap)[0]
IndexError: list index out of range


FAIL: test_07_WebSection_getDocumentValueList (testERP5Web.TestERP5Web), Check getting getDocumentValueList from Web Section.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testERP5Web.py", line 476, in test_07_WebSection_getDocumentValueList
    [ w.getLanguage()  for w in websection.getDocumentValueList()])
AssertionError: ['en', 'en', 'en', 'en'] != ['en', 'en', 'en', '']


ERROR: test_InventoryIndexingNodeAndMirrorSection (Products.ERP5.tests.testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccounting.py", line 1976, in test_InventoryIndexingNodeAndMirrorSection
    setQuantityOnTransaction1(99)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccounting.py", line 1972, in setQuantityOnTransaction1
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_87b866d7aa797b132566e7923b63925e/accounting_module/13', 'expand', -2, 1)]
Last error message:
NotImplementedError
Need to generate quantity compensation in portal_simulation/7, because all matched movements are immutable : ['portal_simulation/7/1'].
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.DeliveryRule, line 64, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 473, in _getCompensatedMovementList
NotImplementedError: Need to generate quantity compensation in portal_simulation/7, because all matched movements are immutable : ['portal_simulation/7/1'].



FAIL: testAccountStatement (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 841, in testAccountStatement
    running_total_price=100)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '1' actual: '6'
`debit_price`: expected: 100 actual: 600.0
`date`: expected: DateTime('2006/02/01 00:00:00 GMT') actual: DateTime('2006/02/02 00:05:00 GMT')
`running_total_price`: expected: 100 actual: 600.0
`Movement_getExplanationReference`: expected: 'ref1' actual: 'ref6'
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 6'


FAIL: testAccountStatementCancellationAmount (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 1791, in testAccountStatementCancellationAmount
    running_total_price=-100)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '1' actual: '2'
`debit_price`: expected: -100 actual: 0
`date`: expected: DateTime('2006/02/01 00:01:00 GMT') actual: DateTime('2006/02/01 00:02:00 GMT')
`credit_price`: expected: 0 actual: -200.0
`running_total_price`: expected: -100 actual: 200.0
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 2'


FAIL: testAccountStatementFromDateDetailedSummaryGroupedAtFromDate (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 1297, in testAccountStatementFromDateDetailedSummaryGroupedAtFromDate
    credit_price=200,)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '3' actual: '4'
`debit_price`: expected: 0 actual: 400.0
`date`: expected: DateTime('2006/02/25 02:03:00 GMT') actual: DateTime('2006/03/01 00:00:00 GMT')
`credit_price`: expected: 200 actual: 0
`running_total_price`: expected: 100 actual: 700.0
`Movement_getExplanationTitle`: expected: 'Transaction 3' actual: 'Transaction 4'


FAIL: testAccountStatementFromDateSummary (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 944, in testAccountStatementFromDateSummary
    running_total_price=200)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '3' actual: '6'
`debit_price`: expected: 300 actual: 600.0
`date`: expected: DateTime('2006/02/02 00:02:00 GMT') actual: DateTime('2006/02/02 00:05:00 GMT')
`running_total_price`: expected: 200 actual: 500.0
`Movement_getExplanationTitle`: expected: 'Transaction 3' actual: 'Transaction 6'


FAIL: testAccountStatementMultipleSection (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 1933, in testAccountStatementMultipleSection
    running_total_price=100)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`section_title`: expected: 'My Organisation' actual: 'My Master Organisation'
`Movement_getSpecificReference`: expected: '1' actual: '2'
`debit_price`: expected: 100 actual: 0
`date`: expected: DateTime('2006/02/01 00:00:00 GMT') actual: DateTime('2006/02/01 00:01:00 GMT')
`credit_price`: expected: 0 actual: 200.0
`running_total_price`: expected: 100 actual: -200.0
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 2'


FAIL: testAccountStatementOverMultiplePeriodsForExpenseAccounts (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 1632, in testAccountStatementOverMultiplePeriodsForExpenseAccounts
    running_total_price=-100)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '1' actual: '3'
`date`: expected: DateTime('2005/12/31 00:00:00 GMT') actual: DateTime('2006/02/02 00:00:00 GMT')
`credit_price`: expected: 100 actual: 300.0
`running_total_price`: expected: -100 actual: -300.0
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 3'


FAIL: testAccountStatementPeriodDateEqualsFromDate (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 1540, in testAccountStatementPeriodDateEqualsFromDate
    running_total_price=279)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '2' actual: '3'
`debit_price`: expected: 200 actual: 300.0
`date`: expected: DateTime('2006/01/01 00:00:00 GMT') actual: DateTime('2006/02/02 00:00:00 GMT')
`running_total_price`: expected: 279 actual: 379.0
`Movement_getExplanationTitle`: expected: 'Transaction 2' actual: 'Transaction 3'


FAIL: testAccountStatementPeriodDateForExpenseAccounts (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 1408, in testAccountStatementPeriodDateForExpenseAccounts
    running_total_price=-200)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '2' actual: '3'
`date`: expected: DateTime('2006/01/01 00:00:00 GMT') actual: DateTime('2006/02/02 00:00:00 GMT')
`credit_price`: expected: 200 actual: 300.0
`running_total_price`: expected: -200 actual: -300.0
`Movement_getExplanationTitle`: expected: 'Transaction 2' actual: 'Transaction 3'


FAIL: testGeneralLedger (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 3211, in testGeneralLedger
    debit_price=0, credit_price=100, running_total_price=-100, )
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getSpecificReference`: expected: '1' actual: '2'
`debit_price`: expected: 0 actual: 200.0
`date`: expected: DateTime('2006/02/01 00:00:00 GMT') actual: DateTime('2006/02/01 00:01:00 GMT')
`credit_price`: expected: 100 actual: 0
`running_total_price`: expected: -100 actual: 200.0
`Movement_getExplanationReference`: expected: 'ref1' actual: 'ref2'
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 2'


FAIL: testOtherPartiesReport (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 3747, in testOtherPartiesReport
    running_total_price=100.0)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1213, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Movement_getNodeGapId`: expected: '41' actual: '40'
`debit_price`: expected: 100 actual: 200.0
`date`: expected: DateTime('2006/02/01 00:00:00 GMT') actual: DateTime('2006/02/01 00:01:00 GMT')
`running_total_price`: expected: 100.0 actual: 200.0
`Movement_getExplanationTitle`: expected: 'Transaction 1' actual: 'Transaction 2'


ERROR: test_01_IfNested (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 227, in test_01_IfNested
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      GetRelatedInvoiceFromPackingList
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/1', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_02_AdoptingPrevision (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 267, in test_02_AdoptingPrevision
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      GetRelatedInvoiceFromPackingList
      UpdatePackingList
      Tic
      AcceptDecisionPackingListQuantity
      Tic
      CheckInvoiceIsDivergent
      CheckInvoiceIsDiverged
      AdoptPrevisionInvoiceQuantity
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/2', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_03_AcceptingDecision (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 305, in test_03_AcceptingDecision
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      GetRelatedInvoiceFromPackingList
      UpdateInvoice
      Tic
      CheckInvoiceIsDivergent
      AcceptDecisionInvoiceQuantity
      Tic
      CheckInvoiceIsNotDivergent
      CheckPackingListIsDivergent
      AdoptPrevisionPackingListQuantity
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/3', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_04_MergingMultipleSaleOrders (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 365, in test_04_MergingMultipleSaleOrders
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      GetRelatedInvoiceFromPackingList
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      Tic
      CreateOrderLine
      SetOrderLineResource
      UpdateOrder
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetFillContainerLine
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceIsDivergent
      AdoptPrevisionInvoiceQuantity
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/4', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_01_QuantityDivergenceTester (testLegacyDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 846, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1046, in setUpERP5Site
    setup_once()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacyDivergenceTester.py", line 102, in setUpOnce
    self.bootstrapSite()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacyDivergenceTester.py", line 91, in bootstrapSite
    sequence(sequence_string, quiet=self.quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 162, in __call__
    self.play(self._context, sequence_number=sequence_number, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
    > Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_9c583fc5a6af5401400e303f45ca28b3/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_9c583fc5a6af5401400e303f45ca28b3/sale_order_module/1', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_01_testTaskBasicUseCase (Products.ERP5.tests.testTask.TestTask)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 583, in test_01_testTaskBasicUseCase
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateProject
      CreateRequirement
      CreateSimpleTask
      CreateCurrency
      FillTaskWithData
      SetTaskPriceCurrency
      ConfirmTask
      Tic
    > SetTaskReport
      VerifyGeneratedByBuilderTaskReport
      StartTaskReport
      FinishTaskReport
      CloseTaskReport
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 508, in stepSetTaskReport
    portal_type='Task Report')[0]
IndexError: list index out of range


ERROR: test_01_testTaskNoPrice (Products.ERP5.tests.testTask.TestTask)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 601, in test_01_testTaskNoPrice
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateProject
      CreateRequirement
      CreateSimpleTask
      FillTaskWithData
      ConfirmTask
      Tic
    > SetTaskReport
      VerifyGeneratedByBuilderTaskReport
      VerifyTaskReportNoPrice
      StartTaskReport
      FinishTaskReport
      CloseTaskReport
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 508, in stepSetTaskReport
    portal_type='Task Report')[0]
IndexError: list index out of range


ERROR: test_02_testMultipleLineTaskBasicUseCase (Products.ERP5.tests.testTask.TestTask)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 617, in test_02_testMultipleLineTaskBasicUseCase
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateResource
      CreateProject
      CreateSimpleTask
      CreateCurrency
      FillTaskWithData
      SetTaskPriceCurrency
      CreateTaskLine
      FillTaskLineWithData
      ConfirmTask
      Tic
    > SetTaskReport
      VerifyGeneratedTaskReportLines
      StartTaskReport
      FinishTaskReport
      CloseTaskReport
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 508, in stepSetTaskReport
    portal_type='Task Report')[0]
IndexError: list index out of range


ERROR: test_04_checkNotMergedTaskReportLine (Products.ERP5.tests.testTask.TestTask)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 663, in test_04_checkNotMergedTaskReportLine
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateResource
      CreateSimpleTask
      SetTaskValues
      CreateTaskLine
      FillTaskLineWithData
      CreateTaskLine
      FillTaskLineWithData
      ConfirmTask
      Tic
    > SetTaskReport
      VerifyMergedTaskLine
      StartTaskReport
      FinishTaskReport
      CloseTaskReport
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 508, in stepSetTaskReport
    portal_type='Task Report')[0]
IndexError: list index out of range


ERROR: test_05_testStrictSimulationSecurity (Products.ERP5.tests.testTask.TestTask), Test creation of task and (automatic) task_report with strict
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 687, in test_05_testStrictSimulationSecurity
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateProject
      CreateRequirement
      CreateSimpleTask
      CreateCurrency
      FillTaskWithData
      SetTaskPriceCurrency
      ConfirmTask
      Tic
    > SetTaskReport
      VerifyGeneratedByBuilderTaskReport
      StartTaskReport
      FinishTaskReport
      CloseTaskReport
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 508, in stepSetTaskReport
    portal_type='Task Report')[0]
IndexError: list index out of range


ERROR: test_01_TestReportLineChangeQuantity (Products.ERP5.tests.testTaskReportDivergence.TestTaskReportDivergence)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTaskReportDivergence.py", line 178, in test_01_TestReportLineChangeQuantity
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      SetStrictSecurity
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateProject
      CreateRequirement
      CreateSimpleTask
      CreateCurrency
      FillTaskWithData
      SetTaskPriceCurrency
      ConfirmTask
      Tic
    > SetTaskReport
      CheckTaskReportIsSolved
      ChangeTaskReportLineQuantity
      CheckTaskReportIsCalculating
      Tic
      CheckTaskReportIsDiverged
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 508, in stepSetTaskReport
    portal_type='Task Report')[0]
IndexError: list index out of range


ERROR: test_02_TestReportListChangeDestination (Products.ERP5.tests.testTaskReportDivergence.TestTaskReportDivergence)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTaskReportDivergence.py", line 201, in test_02_TestReportListChangeDestination
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      SetStrictSecurity
      Login
      CreateOrganisation
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateProject
      CreateRequirement
      CreateSimpleTask
      CreateCurrency
      FillTaskWithData
      SetTaskPriceCurrency
      ConfirmTask
      Tic
    > SetTaskReport
      CheckTaskReportIsSolved
      ChangeTaskReportDestination
      CheckTaskReportIsCalculating
      Tic
      CheckTaskReportIsDiverged
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 508, in stepSetTaskReport
    portal_type='Task Report')[0]
IndexError: list index out of range


ERROR: test_03_TaskReportChangeStartDate (Products.ERP5.tests.testTaskReportDivergence.TestTaskReportDivergence)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTaskReportDivergence.py", line 227, in test_03_TaskReportChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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 "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 508, in stepSetTaskReport
    portal_type='Task Report')[0]
IndexError: list index out of range


FAIL: test_03_testTaskReportBasicUseCase (Products.ERP5.tests.testTask.TestTask)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 634, in test_03_testTaskReportBasicUseCase
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      Login
      CreateOrganisation
      CreateOrganisation
      CreateResource
      CreateProject
      CreateSimpleTaskReport
      CreateCurrency
      FillTaskReportWithData
      SetTaskReportPriceCurrency
      CreateTaskReportLine
      ConfirmTaskReport
      Tic
    > VerifyTaskReportCausalityState
      StartTaskReport
      FinishTaskReport
      CloseTaskReport
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTask.py", line 468, in stepVerifyTaskReportCausalityState
    self.assertEqual(task_report.getCausalityState(), 'solved')
AssertionError: 'diverged' != 'solved'


FAIL: testProjectMontlyReport (Products.ERP5.tests.testTaskReporting.TestTaskReporting)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testTaskReporting.py", line 206, in testProjectMontlyReport
    self.assertEquals(3, len(data_line_list))
AssertionError: 3 != 1


ERROR: test_01_TwoInvoicesFromTwoPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 522, in test_01_TwoInvoicesFromTwoPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      DefineNewPackingListContainer
      Tic
      CheckNewPackingListIsPacked
      SetReadyPackingList
      SetReadyNewPackingList
      Tic
      StartPackingList
      StartNewPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckTwoInvoices
      RemoveDateMovementGroupForAdvancedTransactionBuilder
      StartTwoInvoices
      Tic
      CheckInvoicesAndTransactionsConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/1', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_02_InvoiceDeletePackingListLine (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 550, in test_02_InvoiceDeletePackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      Tic
      SetContainerFullQuantity
      Tic
      CheckPackingListIsPacked
      DeletePackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/2', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_03_InvoiceDecreaseQuantity (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 592, in test_03_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/3', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_04_InvoiceChangeStartDateFail (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 630, in test_04_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckPackingListIsDivergent
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/4', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_05_AcceptDecisionOnPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 698, in test_05_AcceptDecisionOnPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/5', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_06_AcceptDecisionOnPackingListAndInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 786, in test_06_AcceptDecisionOnPackingListAndInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      IncreaseInvoiceLineQuantity
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/6', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_07_SplitAndDeferInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 858, in test_07_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      SwitchInvoices
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/7', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_08_AcceptDecisionOnInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 928, in test_08_AcceptDecisionOnInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/8', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_10_ManuallyAddedMovements (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 984, in test_10_ManuallyAddedMovements
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      StartInvoice
      Tic
      AddInvoiceTransactionLines
      Tic
      CheckSimulationTrees
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/9', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_11_ManuallyAddedMovementsManyTransactions (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 1020, in test_11_ManuallyAddedMovementsManyTransactions
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      Tic
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      AddInvoiceLinesManyTransactions
      Tic
      CheckSimulationTrees
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/10', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_12_compareInvoiceAndPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 1044, in test_12_compareInvoiceAndPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      InvoiceBuilderAlarm
      Tic
      CheckInvoiceBuilding
      CheckInvoicesConsistency
      CheckPackingListInvoice
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/11', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 1075, in test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckDivergedOnPackingList
      CheckDivergedQuantityOnPackingList
      AdoptPrevisionOnPackingList
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/12', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 311, in test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      StopPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckSolvedOnPackingList
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/13', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 336, in test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      StartPackingList
      StopPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AdoptPrevisionOnInvoice
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/14', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_CreatingAccountingTransactionThroughInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 274, in test_CreatingAccountingTransactionThroughInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      StartPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      StartRelatedInvoice
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/15', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_PackingListEditAndInvoiceRule (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 369, in test_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      EditPackingList
      CheckDeliveryRuleNotAppliedOnPackingListEdit
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/sale_order_module/16', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Accept divergence with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 311, in test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      Tic
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      StopPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckSolvedOnPackingList
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/purchase_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/purchase_order_module/1', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Adopt quantity with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 336, in test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      Tic
      StartPackingList
      StopPackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
      AdoptPrevisionOnInvoice
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/purchase_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/purchase_order_module/2', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_CreatingAccountingTransactionThroughInvoice (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice), test creating simple invoice and accounting transaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 274, in test_CreatingAccountingTransactionThroughInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      Tic
      ReceivePackingList
      Tic
      InvoiceBuilderAlarm
      Tic
      StartRelatedInvoice
      Tic
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/purchase_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/purchase_order_module/3', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_PackingListEditAndInvoiceRule (Products.ERP5.tests.testAdvancedInvoicing.TestAdvancedPurchaseInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testAdvancedInvoicing.py", line 369, in test_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      PackingListBuilderAlarm
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      Tic
      EditPackingList
      CheckDeliveryRuleNotAppliedOnPackingListEdit
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/portal_deliveries/purchase_packing_list_builder', 'build', -1, 0), ('/erp5_portal_117249bcca594f2f09b0ee3b6ad09015/purchase_order_module/4', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_01_getInventory (Products.ERP5.tests.testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testInventory.py", line 1897, in test_01_getInventory
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisationList
      CreateOrder
      CreateVariatedResourceList
      CreatePackingListList
      Tic
      CreateTestingCategories
      Tic
      TestInventoryListBrainGetQuantity
      TestGetInventoryOnNode
      TestGetInventoryOnVariationCategory
      TestGetInventoryOnPayment
      TestGetInventoryOnSection
      TestGetInventoryOnMirrorSection
      TestGetInventoryOnResource
      TestGetInventoryWithOmitInput
      TestGetInventoryWithOmitOutput
    > TestGetInventoryOnSimulationState
      TestGetInventoryOnSectionCategory
      TestGetInventoryOnPaymentCategory
      TestGetInventoryOnNodeCategory
      TestGetInventoryOnMirrorSectionCategory
      TestGetInventoryOnResourceCategory
      TestGetInventoryOnVariationText
      TestGetInventoryListOnSection
      TestGetInventoryListOnNode
      TestGetInventoryListWithOmitInput
      TestGetInventoryListWithOmitOutput
      TestGetInventoryListWithGroupBy
      TestGetNextNegativeInventoryDate
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testInventory.py", line 1236, in stepTestGetInventoryOnSimulationState
    workflow_tool.doActionFor(transited_pl, action, packing_list_workflow)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.CMFCore-2.2.5-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.CMFCore-2.2.5-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.DCWorkflow-2.2.3nxd002-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 282, in doActionFor
    raise Unauthorized(action)
Unauthorized: You are not allowed to access 'set_ready_action' in this context


ERROR: test_02_InventoryModule (Products.ERP5.tests.testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testInventory.py", line 1928, in test_02_InventoryModule
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisationsForModule
      CreateVariatedResource
      CreateItemList
      CreatePackingListForModule
      Tic
      CreatePackingListLine
      Tic
    > DeliverPackingList
      Tic
      CreateAggregatingInventory
      Tic
      TestInventoryModule
      CreateSingleInventory
      Tic
      TestInventoryModule
      ModifyFirstInventory
      Tic
      TestInventoryModule
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testInventory.py", line 354, in stepDeliverPackingList
    "set_ready_action", "packing_list_workflow")
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.CMFCore-2.2.5-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.CMFCore-2.2.5-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.DCWorkflow-2.2.3nxd002-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 282, in doActionFor
    raise Unauthorized(action)
Unauthorized: You are not allowed to access 'set_ready_action' in this context


ERROR: test_03_InventoryModuleWithVariation (Products.ERP5.tests.testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testInventory.py", line 1953, in test_03_InventoryModuleWithVariation
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisationsForModule
      CreateVariatedResource
      Tic
      CreatePackingListForModule
      Tic
      CreateVariatedPackingListLine
      Tic
    > DeliverPackingList
      Tic
      TestInitialVariatedInventory
      CreateSingleVariatedInventory
      Tic
      TestVariatedInventoryAfterInventory
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testInventory.py", line 354, in stepDeliverPackingList
    "set_ready_action", "packing_list_workflow")
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.CMFCore-2.2.5-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.CMFCore-2.2.5-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.DCWorkflow-2.2.3nxd002-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 282, in doActionFor
    raise Unauthorized(action)
Unauthorized: You are not allowed to access 'set_ready_action' in this context


ERROR: test_04_InventoryModuleWithVariationAndMultiQuantityUnit (Products.ERP5.tests.testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testInventory.py", line 1978, in test_04_InventoryModuleWithVariationAndMultiQuantityUnit
    sequence_list.play(self)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisationsForModule
      CreateVariatedMultipleQuantityUnitResource
      Tic
      CreatePackingListForModule
      Tic
      CreateVariatedNonDefaultQuantityUnitPackingListLine
      Tic
    > DeliverPackingList
      Tic
      TestInitialVariatedNonDefaultQuantityUnitInventory
      CreateSingleVariatedInventory
      Tic
      TestVariatedInventoryAfterInventory
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5/tests/testInventory.py", line 354, in stepDeliverPackingList
    "set_ready_action", "packing_list_workflow")
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.CMFCore-2.2.5-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.CMFCore-2.2.5-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/eggs/Products.DCWorkflow-2.2.3nxd002-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 282, in doActionFor
    raise Unauthorized(action)
Unauthorized: You are not allowed to access 'set_ready_action' in this context


ERROR: test_01_SimpleInvoice (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2626, in test_01_SimpleInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckInvoiceLineHasReferenceAndIntIndex
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/1', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_02_TwoInvoicesFromTwoPackingList (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2658, in test_02_TwoInvoicesFromTwoPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      DefineNewPackingListContainer
      Tic
      CheckNewPackingListIsPacked
      SetReadyPackingList
      SetReadyNewPackingList
      Tic
      StartPackingList
      StartNewPackingList
      Tic
      CheckTwoInvoices
      RemoveDateMovementGroupForTransactionBuilder
      StartTwoInvoices
      Tic
      CheckTwoInvoicesTransactionLines
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/3', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_03_InvoiceEditAndInvoiceRule (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2689, in test_03_InvoiceEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      Tic
      CheckInvoiceBuilding
      EditInvoice
      CheckInvoiceRuleNotAppliedOnInvoiceEdit
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/4', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_04_PackingListEditAndInvoiceRule (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2707, in test_04_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      EditPackingList
      CheckDeliveryRuleNotAppliedOnPackingListEdit
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/5', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_05_InvoiceEditPackingListLine (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2731, in test_05_InvoiceEditPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      EditPackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/6', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_06_InvoiceDeletePackingListLine (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2755, in test_06_InvoiceDeletePackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      Tic
      SetContainerFullQuantity
      Tic
      CheckPackingListIsPacked
      DeletePackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/7', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_07_InvoiceAddPackingListLine (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2782, in test_07_InvoiceAddPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      AddPackingListLine
      SetContainerFullQuantity
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/8', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_08_InvoiceDecreaseQuantity (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2821, in test_08_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/9', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_09_InvoiceChangeStartDateFail (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2855, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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 "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/10', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_09b_InvoiceChangeStartDateSucceed (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2899, in test_09b_InvoiceChangeStartDateSucceed
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/11', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_10_AcceptDecisionOnPackingList (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2964, in test_10_AcceptDecisionOnPackingList
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/12', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_11_AcceptDecisionOnPackingListAndInvoice (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 3081, in test_11_AcceptDecisionOnPackingListAndInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      IncreaseInvoiceLineQuantity
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/13', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_12_SplitPackingListAndAcceptInvoice (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 3193, in test_12_SplitPackingListAndAcceptInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      IncreaseInvoiceLineQuantity
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsSolved
      CheckInvoiceNotSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      SwitchPackingLists
      AddPackingListContainer
      SetContainerFullQuantity
      Tic
      CheckPackingListIsSolved
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      SetInvoiceLineQuantityToZero
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsSolved
      CheckInvoiceNotSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/14', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_13_SplitAndDeferInvoice (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 3262, in test_13_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5/tests/testAccountingRules.py", line 118, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      SwitchInvoices
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/15', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_14_AcceptDecisionOnInvoice (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 3329, in test_14_AcceptDecisionOnInvoice
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/16', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_16_ManuallyAddedMovements (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 3379, in test_16_ManuallyAddedMovements
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLines
      Tic
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/17', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_16a_ManuallyAddedMovementsManyTransactions (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 2996, in test_16a_ManuallyAddedMovementsManyTransactions
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLinesManyTransactions
      Tic
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/18', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module Products.ERP5Legacy.Document.OrderRule, line 76, in expand
  Module Products.ERP5Legacy.Document.Rule, line 191, in _expand
  Module Products.ERP5.Document.SimulationMovement, line 342, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 119, in expand
  Module erp5.document.DeliverySimulationRule, line 58, in expand
  Module Products.ERP5Legacy.Document.Rule, line 170, in _expand
  Module Products.ERP5Legacy.Document.Rule, line 460, in _getCompensatedMovementList
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'



ERROR: test_17_ManuallyAddedWrongMovements (testLegacySimulationInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/product/ERP5Legacy/tests/testLegacySimulationInvoice.py", line 3405, in test_17_ManuallyAddedWrongMovements
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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
      Tic
      CheckInvoiceBuilding
      AddWrongInvoiceLines
      Tic
      StartInvoice
      CheckStartInvoiceFail
      CheckSimulationTrees
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 580, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart5/srv/slapos/software/761ffb2089837727bd5c053ef7eebf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_6edcd79b834fa5e76788474753c99b69/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_6edcd79b834fa5e76788474753c99b69/sale_order_module/19', 'expand', -2, 1)]
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'float'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>


(truncated) ...


More information about the Erp5-report mailing list