[Erp5-report] ERP5 r28548: 2721 Tests, 60 Errors, 63 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Aug 22 01:56:00 CEST 2009


Test Suite: ERP5
Revision: 28548
Result: FAIL

All tests: 2721
Failures: 63
Errors: 60


The following tests failed:

  testBPMEvaluation                                  (3 failures, 11 errors)
   test_starting (testBPMEvaluation.TestPackingListDefaultProcess)
   test_starting (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition_line_edit (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition_split (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDefaultProcess)
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDefaultProcess)
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDifferentProcess)
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDifferentProcess)

  testInvoice                                        (7 failures)
   test_08_InvoiceDecreaseQuantity (testInvoice.TestSaleInvoice)
   test_13_SplitAndDeferInvoice (testInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestSaleInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)

  testTradeReports                                   (1 failures, 1 errors)
   testStockReportWithPositiveOrNegativeOrZeroStock (testTradeReports.TestTradeReports)
   testStockReport (testTradeReports.TestTradeReports)

  testPayroll_l10n_fr                                (1 failures)
   Check that is possible to calculate the total amount spend on a slice

  testImmobilisation                                 (1 errors)
   test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)

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

  testAccounting_l10n_fr_m9                          (14 errors)
   test_AccountTypeConstaintFixFor4718 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixFor4721 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixFor4731 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixFor4735 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   Tests that the accounting plan is well installed.
   Simple use case for a transmission sheet.
   Transmission sheet cannot be emitted if it doesn't contain any invoice.
   Checks the invoice transmission sheet module is installed.

  testXHTML                                          (1 failures, 13 errors)
   test.erp5_mrp.Production Order.ProductionDelivery_viewInventory (testXHTML.TestXHTML)
   test.erp5_mrp.Production Order.ProductionOrder_view (testXHTML.TestXHTML)
   test.erp5_mrp.Production Order.ProductionOrder_viewMaterialConsumption (testXHTML.TestXHTML)
   test.erp5_mrp.Production Order.ProductionOrder_viewOperationConsumption (testXHTML.TestXHTML)
   test.erp5_mrp.Production Order.PurchaseTradeCondition_viewProfile (testXHTML.TestXHTML)
   test.erp5_mrp.Production Order.TradeCondition_viewDiscount (testXHTML.TestXHTML)
   test.erp5_mrp.Production Order.TradeCondition_viewPayment (testXHTML.TestXHTML)
   test.erp5_project.Task Report.TradeCondition_viewDiscount (testXHTML.TestXHTML)
   test.erp5_project.Task.Task_view (testXHTML.TestXHTML)
   test.erp5_project.Task.Task_viewConstraint (testXHTML.TestXHTML)
   test.erp5_project.Task.Task_viewProfile (testXHTML.TestXHTML)
   test.erp5_project.Task.TradeCondition_viewDiscount (testXHTML.TestXHTML)
   test.erp5_project.Task.TradeCondition_viewPayment (testXHTML.TestXHTML)
   test_deadProxyFields (testXHTML.TestXHTML)

  testOpenOrder                                      (3 errors)
   testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
   testOpenOrderRule (testOpenOrder.TestOpenOrder)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testMRP                                            (4 errors)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation)
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation)
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation)
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation)

  testTradeModelLine                                 (40 failures)
   test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLine.TestTradeModelLineSale)
   test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLine.TestTradeModelLineSale)
   test_TradeModelRuleSimulationBuildInvoice (testTradeModelLine.TestTradeModelLineSale)
   Check that having properly configured invoice transaction rule it invoice transaction lines are nicely generated and have proper amounts
   Check that after changing invoice line invoice is properly diverged and it is possible to solve
   Check how is supported addition of invoice line to invoice build from order
   Check that after changing trade condition invoice is not diverged
   test_TradeModelRuleSimulationBuildInvoiceOrderSpecialise (testTradeModelLine.TestTradeModelLineSale)
   Tests tree of simulations from Trade Model Rule
   test_TradeModelRuleSimulationExpandOrderSpecialise (testTradeModelLine.TestTradeModelLineSale)
   Check building invoice after splitting packing list
   Check building invoice after splitting packing list using different ratio
   Tests tree of simulations from Trade Model Rule with reexpanding
   test_TradeModelRuleSimulationReexpandOrderSpecialise (testTradeModelLine.TestTradeModelLineSale)
   Tests tree of simulations from Trade Model Rule with reexpanding when resource changes on model
   test_getAggregatedAmountList (testTradeModelLine.TestTradeModelLineSale)
   test_getAggregatedAmountListOrderSpecialise (testTradeModelLine.TestTradeModelLineSale)
   test_getAggregatedAmountListWithComplexModelLinesCreateInEasyOrder (testTradeModelLine.TestTradeModelLineSale)
   test_getAggregatedAmountListWithComplexModelLinesCreateInRandomOrder (testTradeModelLine.TestTradeModelLineSale)
   test_getAggregatedAmountList_afterUpdateAggregatedAmountList (testTradeModelLine.TestTradeModelLineSale)
   test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLine.TestTradeModelLinePurchase)
   test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLine.TestTradeModelLinePurchase)
   test_TradeModelRuleSimulationBuildInvoice (testTradeModelLine.TestTradeModelLinePurchase)
   Check that having properly configured invoice transaction rule it invoice transaction lines are nicely generated and have proper amounts
   Check that after changing invoice line invoice is properly diverged and it is possible to solve
   Check how is supported addition of invoice line to invoice build from order
   Check that after changing trade condition invoice is not diverged
   test_TradeModelRuleSimulationBuildInvoiceOrderSpecialise (testTradeModelLine.TestTradeModelLinePurchase)
   Tests tree of simulations from Trade Model Rule
   test_TradeModelRuleSimulationExpandOrderSpecialise (testTradeModelLine.TestTradeModelLinePurchase)
   Check building invoice after splitting packing list
   Check building invoice after splitting packing list using different ratio
   Tests tree of simulations from Trade Model Rule with reexpanding
   test_TradeModelRuleSimulationReexpandOrderSpecialise (testTradeModelLine.TestTradeModelLinePurchase)
   Tests tree of simulations from Trade Model Rule with reexpanding when resource changes on model
   test_getAggregatedAmountList (testTradeModelLine.TestTradeModelLinePurchase)
   test_getAggregatedAmountListOrderSpecialise (testTradeModelLine.TestTradeModelLinePurchase)
   test_getAggregatedAmountListWithComplexModelLinesCreateInEasyOrder (testTradeModelLine.TestTradeModelLinePurchase)
   test_getAggregatedAmountListWithComplexModelLinesCreateInRandomOrder (testTradeModelLine.TestTradeModelLinePurchase)
   test_getAggregatedAmountList_afterUpdateAggregatedAmountList (testTradeModelLine.TestTradeModelLinePurchase)

  testPayroll                                        (1 failures)
   Check that if no DATE are defined on a model, the behavior is that

  testERP5Interfaces                                 (11 errors)
   test_BusinessPath_implements_IArrowBase (testERP5Interfaces.TestERP5Interfaces)
   test_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
   test_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
   test_TradeCondition_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelCell_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelCell_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelLine_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelLine_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_Transformation_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TransformedResource_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)

  testAdvancedInvoicing                              (5 failures)
   test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   Accept divergence with stopped packing list
   Adopt quantity with stopped packing list
   Accept divergence with stopped packing list
   Adopt quantity with stopped packing list

  testTemplate                                       (1 failures)
   Check what happen when templates are created one by one without reindexation

  testXMLMatrix                                      (1 failures)
   test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)

  testOOoConversionCache                             (2 errors)
   test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
   test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
-------------- next part --------------

ERROR: test_starting (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 602, in test_starting
    self.stepTic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in stepTic
    self.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_starting (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 111, in __call__
    self.tearDown()
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 239, in beforeTearDown
    self.stepTic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in stepTic
    self.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_transition (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 382, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 62, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 231, in afterSetUp
    self.createCategories()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/utils.py", line 240, in __call__
    self._instance.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_transition_line_edit (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 382, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 62, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 231, in afterSetUp
    self.createCategories()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/utils.py", line 240, in __call__
    self._instance.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_transition_line_edit_add (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 382, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 62, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 231, in afterSetUp
    self.createCategories()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/utils.py", line 240, in __call__
    self._instance.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 382, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 62, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 231, in afterSetUp
    self.createCategories()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/utils.py", line 240, in __call__
    self._instance.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 382, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 62, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 231, in afterSetUp
    self.createCategories()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/utils.py", line 240, in __call__
    self._instance.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 382, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 62, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 231, in afterSetUp
    self.createCategories()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/utils.py", line 240, in __call__
    self._instance.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_transition_split (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 382, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 62, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 231, in afterSetUp
    self.createCategories()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/utils.py", line 240, in __call__
    self._instance.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_transition_split_line_add (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 382, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 62, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 231, in afterSetUp
    self.createCategories()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/utils.py", line 240, in __call__
    self._instance.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



ERROR: test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 382, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 62, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 231, in afterSetUp
    self.createCategories()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/utils.py", line 240, in __call__
    self._instance.tic()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8181974da49d954fafc6fb4b4934482e/business_process_module/1', 'build', -2, 6)] 



FAIL: test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 535, in test_transition_line_edit_add_same_resource_edit_again
    self._checkBPMSimulation()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 290, in _checkBPMSimulation
    root_simulation_movement.getQuantity())
AssertionError: 9.0 != 1.0



FAIL: test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDifferentProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 535, in test_transition_line_edit_add_same_resource_edit_again
    self._checkBPMSimulation()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 290, in _checkBPMSimulation
    root_simulation_movement.getQuantity())
AssertionError: 9.0 != 1.0



FAIL: test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDifferentProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 535, in test_transition_line_edit_add_same_resource_edit_again
    self._checkBPMSimulation()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 290, in _checkBPMSimulation
    root_simulation_movement.getQuantity())
AssertionError: 9.0 != 1.0



FAIL: test_08_InvoiceDecreaseQuantity (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2717, in test_08_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 113, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.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 "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2312, in stepCheckInvoiceSplitted
    self.assertEquals(2,len(invoice_list))
AssertionError: 2 != 1



FAIL: test_13_SplitAndDeferInvoice (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3177, in test_13_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 113, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.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 "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2312, in stepCheckInvoiceSplitted
    self.assertEquals(2,len(invoice_list))
AssertionError: 2 != 1



FAIL: test_accept_quantity_divergence_on_invoice_with_started_packing_list (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3385, in test_accept_quantity_divergence_on_invoice_with_started_packing_list
    self.assertEquals(3, len(builder_list))
AssertionError: 3 != 1



FAIL: test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1481, in test_accept_quantity_divergence_on_invoice_with_stopped_packing_list
    self.assertEquals(3, len(builder_list))
AssertionError: 3 != 1



FAIL: test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1541, in test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list
    self.assertEquals(3, len(builder_list))
AssertionError: 3 != 1



FAIL: test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1481, in test_accept_quantity_divergence_on_invoice_with_stopped_packing_list
    self.assertEquals(3, len(builder_list))
AssertionError: 3 != 1



FAIL: test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1541, in test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list
    self.assertEquals(3, len(builder_list))
AssertionError: 3 != 1



ERROR: testStockReportWithPositiveOrNegativeOrZeroStock (testTradeReports.TestTradeReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeReports.py", line 876, in testStockReportWithPositiveOrNegativeOrZeroStock
    quantity_unit='Kg')
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 967, in checkLineProperties
    if v != line.getColumnProperty(k):
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/ListBox.py", line 3010, in getColumnProperty
    return self.column_dict[column_id]
KeyError: 'inventory'



FAIL: testStockReport (testTradeReports.TestTradeReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeReports.py", line 724, in testStockReport
    ['resource_title', 'resource_reference', 'variation_text',
AssertionError: ['resource_title', 'resource_reference', 'variation_category_item_list', 'aggregate_title_list', 'getInventory', 'quantity_unit'] != ['resource_title', 'resource_reference', 'variation_text', 'inventory', 'quantity_unit']



FAIL: Check that is possible to calculate the total amount spend on a slice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 109, in test_01_getYearToDateSlice
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateModelWithSlices
      SetCurrencyOnModel
      ModelCreateUrssafModelLineWithSlices
      UrssafModelLineWithSlicesCreateMovements
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
    > CheckYearToDateSliceAmount
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 80, in stepCheckYearToDateSliceAmount
    paysheet_list[1].PaySheetTransaction_getYearToDateSlice(\
AssertionError: 400 != 200.0



ERROR: test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3785, in test_20_TestAccountingAcceptDecisionSolver
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      SetTest20SequenceData
      DeleteAccounting
      Tic
      DeleteAllPackingLists
      Tic
      TestAllAppliedRulesAreEmpty
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      BuildAccounting
      Tic
      ConfirmAmortisationTransaction
      Tic
      TestSimpleAccountingBuild
      ChangeAccountingPrice
      Tic
    > AcceptDecision
      Tic
      TestSimulationBuildAfterAcceptDecision
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 1011, in stepAcceptDecision
    'amortisation_transaction_causality_workflow')
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 403, in DCWorkflowDefinition_executeTransition
    script()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Base.py", line 235, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 329, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1020, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in AmortisationTransaction_acceptDecision
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Tool/SimulationTool.py", line 126, in solveDelivery
    additional_parameters=additional_parameters, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Tool/SimulationTool.py", line 163, in _solveMovementOrDelivery
    result = solver.solveDelivery(document)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/TargetSolver/TargetSolver.py", line 85, in solveDelivery
    self.solveMovement(movement)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/TargetSolver/ProfitAndLoss.py", line 49, in solveMovement
    target_quantity = delivery_line_quantity * movement.getDeliveryRatio()
AttributeError: getDeliveryRatio



FAIL: test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 267, in test_02_AdoptingPrevision
    self.assertEquals('solved', document.getCausalityState())
AssertionError: 'solved' != 'diverged'



FAIL: test_04_MergingMultipleSaleOrders (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 359, in test_04_MergingMultipleSaleOrders
    self.assertEquals('solved', document.getCausalityState())
AssertionError: 'solved' != 'diverged'



ERROR: test_AccountTypeConstaintFixFor4718 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 731, in setUpERP5Site
    update_translation=1)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Base.py", line 230, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4867, in install
    return self._install(**kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4803, in _install
    item.install(self, force=force, object_to_update=object_to_update, trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1573, in install
    raise ValueError('Cannot chain workflow %r to non existing '
ValueError: Cannot chain workflow '-delivery_movement_causality_interaction_workflow, -delivery_movement_simulation_interaction_workflow' to non existing portal type 'Invoice Cell'



ERROR: test_AccountTypeConstaintFixFor4721 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: test_AccountTypeConstaintFixFor4731 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: test_AccountTypeConstaintFixFor4735 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: test_AccountTypeConstaintFixForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: test_AccountTypeConstaintFixForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: test_AccountTypeConstaintFixForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: test_AccountTypeConstaintForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: test_AccountTypeConstaintForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: test_AccountTypeConstaintForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: Tests that the accounting plan is well installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: Simple use case for a transmission sheet.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: Transmission sheet cannot be emitted if it doesn't contain any invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: Checks the invoice transmission sheet module is installed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_e95bc12f89154ad644e2510c93f4b035 already failed, giving up



ERROR: test.erp5_mrp.Production Order.ProductionDelivery_viewInventory (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Production Order'



ERROR: test.erp5_mrp.Production Order.ProductionOrder_view (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Production Order'



ERROR: test.erp5_mrp.Production Order.ProductionOrder_viewMaterialConsumption (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Production Order'



ERROR: test.erp5_mrp.Production Order.ProductionOrder_viewOperationConsumption (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Production Order'



ERROR: test.erp5_mrp.Production Order.PurchaseTradeCondition_viewProfile (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Production Order'



ERROR: test.erp5_mrp.Production Order.TradeCondition_viewDiscount (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 313, in testMethod
    view = getattr(object, view_name)
AttributeError: TradeCondition_viewDiscount



ERROR: test.erp5_mrp.Production Order.TradeCondition_viewPayment (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Production Order'



ERROR: test.erp5_project.Task Report.TradeCondition_viewDiscount (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 313, in testMethod
    view = getattr(object, view_name)
AttributeError: TradeCondition_viewDiscount



ERROR: test.erp5_project.Task.Task_view (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Task'



ERROR: test.erp5_project.Task.Task_viewConstraint (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Task'



ERROR: test.erp5_project.Task.Task_viewProfile (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Task'



ERROR: test.erp5_project.Task.TradeCondition_viewDiscount (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 313, in testMethod
    view = getattr(object, view_name)
AttributeError: TradeCondition_viewDiscount



ERROR: test.erp5_project.Task.TradeCondition_viewPayment (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 315, in testMethod
    source=view(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Form/Form.py", line 623, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
    ob = ob()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1307, in getVisibleAllowedContentTypeList
    return [ ti.id for ti in self.allowedContentTypes()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFBTreeFolder.py", line 45, in CMFBTreeFolder_allowedContentTypes
    raise AttributeError, "Portal type '%s' does not exist " \
AttributeError: Portal type 'Discount' does not exist and should not be allowed in 'Task'



FAIL: test_deadProxyFields (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 137, in test_deadProxyFields
    self.assertEquals(error_list, [])
AssertionError: [('erp5_pdm/Component_view/my_base_contribution_list', 'Tax_viewFieldLibrary', 'my_base_contribution_list'), ('erp5_pdm/Product_view/my_base_contribution_list', 'Tax_viewFieldLibrary', 'my_base_contribution_list'), ('erp5_pdm/Service_view/my_base_contribution_list', 'Tax_viewFieldLibrary', 'my_base_contribution_list'), ('erp5_payroll/PaySheetLine_view/my_base_application_list', 'Tax_viewFieldLibrary', 'my_base_application_list')] != []



ERROR: testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 731, in setUpERP5Site
    update_translation=1)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Base.py", line 230, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4867, in install
    return self._install(**kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4803, in _install
    item.install(self, force=force, object_to_update=object_to_update, trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 1578, in install
    props=chain_dict)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Interactor.py", line 58, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Interactor.py", line 36, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 175, in manage_changeWorkflows
    raise ValueError, (
ValueError: "delivery_tax_interaction_workflow" is not a workflow ID.



ERROR: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a8074097ccfe8fe6c26285fcd5b3e519 already failed, giving up



ERROR: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 381, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 631, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a8074097ccfe8fe6c26285fcd5b3e519 already failed, giving up



ERROR: test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testMRP.py", line 370, in test_TransformationRule_expand_concurrent
    rule.expand(applied_rule)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/TransformationModelRule.py", line 329, in expand
    raise TransformationRuleError,\
TransformationRuleError: the Properties which is used to make a movement on the last path
are different with the Transformation <Transformation at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/transformation_module/2> and the Business Process <BusinessProcess at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/business_process_module/2>



ERROR: test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testMRP.py", line 398, in test_TransformationRule_expand_reexpand
    self.test_TransformationRule_expand_concurrent()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testMRP.py", line 370, in test_TransformationRule_expand_concurrent
    rule.expand(applied_rule)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/TransformationModelRule.py", line 329, in expand
    raise TransformationRuleError,\
TransformationRuleError: the Properties which is used to make a movement on the last path
are different with the Transformation <Transformation at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/transformation_module/3> and the Business Process <BusinessProcess at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/business_process_module/3>



ERROR: test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testMRP.py", line 262, in test_TransformationRule_getHeadProductionPathList
    rule.getHeadProductionPathList(transformation, business_process))
AttributeError: getHeadProductionPathList



ERROR: test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testMRP.py", line 476, in test_TransformationSourcingRule_expand
    if len(state.getRemainingTradePhaseList(self.portal)) == 0:
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessState.py", line 174, in getRemainingTradePhaseList
    if not (path.getRelatedSimulationMovementValueList(explanation) and
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessPath.py", line 353, in getRelatedSimulationMovementValueList
    for applied_rule in explanation.getCausalityRelatedValueList(
AttributeError: getCausalityRelatedValueList



FAIL: test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2349, in test_BuildTradeModelLineAndAccountingFromInvoice
    self.assertEquals(2, len(invoice.getMovementList()))
AssertionError: 2 != 1



FAIL: test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2262, in test_BuildTradeModelLineAndAccountingFromOrder
    self.assertEquals(2, len(invoice.getMovementList()))
AssertionError: 2 != 1



FAIL: test_TradeModelRuleSimulationBuildInvoice (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1838, in test_TradeModelRuleSimulationBuildInvoice
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check that having properly configured invoice transaction rule it invoice transaction lines are nicely generated and have proper amounts
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2015, in test_TradeModelRuleSimulationBuildInvoiceBuildInvoiceTransactionLines
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      StartInvoice
      Tic
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceAccountingMovements
      StopInvoice
      DeliverInvoice
      Tic
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check that after changing invoice line invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1982, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      GetInvoiceLineDiscounted
      GetInvoiceLineDiscountedTaxed
      GetInvoiceLineTaxed
      ModifyQuantityInvoiceLineDiscounted
      ModifyQuantityInvoiceLineDiscountedTaxed
      ModifyQuantityInvoiceLineTaxed
      Tic
      CheckInvoiceCausalityStateDiverged
      AcceptDecisionQuantityInvoice
      Tic
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check how is supported addition of invoice line to invoice build from order
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1944, in test_TradeModelRuleSimulationBuildInvoiceNewInvoiceLineSupport
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CreateInvoiceLine
      ModifyInvoiceLineDiscounted
      CreateInvoiceLine
      ModifyInvoiceLineDiscountedTaxed
      CreateInvoiceLine
      ModifyInvoiceLineTaxed
      Tic
      CheckInvoiceCausalityStateSolved
      StartInvoice
      Tic
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceAccountingMovements
      StopInvoice
      DeliverInvoice
      Tic
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check that after changing trade condition invoice is not diverged
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1900, in test_TradeModelRuleSimulationBuildInvoiceNewTradeCondition
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetTradeConditionOld
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineNewTax
      CreateTradeModelLine
      ModifyTradeModelLineNewDiscount
      Tic
      SpecialiseInvoiceTradeCondition
      Tic
      CheckInvoiceCausalityStateSolved
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_TradeModelRuleSimulationBuildInvoiceOrderSpecialise (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1862, in test_TradeModelRuleSimulationBuildInvoiceOrderSpecialise
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CreateOrder
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Tests tree of simulations from Trade Model Rule
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1723, in test_TradeModelRuleSimulationExpand
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_TradeModelRuleSimulationExpandOrderSpecialise (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1764, in test_TradeModelRuleSimulationExpandOrderSpecialise
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CreateOrder
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check building invoice after splitting packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2070, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuild
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2063, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Tests tree of simulations from Trade Model Rule with reexpanding
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1735, in test_TradeModelRuleSimulationReexpand
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ModifyAgainOrderLineTaxed
      ModifyAgainOrderLineDiscounted
      ModifyAgainOrderLineDiscountedTaxed
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_TradeModelRuleSimulationReexpandOrderSpecialise (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1776, in test_TradeModelRuleSimulationReexpandOrderSpecialise
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CreateOrder
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ModifyAgainOrderLineTaxed
      ModifyAgainOrderLineDiscounted
      ModifyAgainOrderLineDiscountedTaxed
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Tests tree of simulations from Trade Model Rule with reexpanding when resource changes on model
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1750, in test_TradeModelRuleSimulationReexpandResourceChange
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CreateServiceTax
      CreateServiceDiscount
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      OrderCreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_getAggregatedAmountList (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1643, in test_getAggregatedAmountList
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_getAggregatedAmountListOrderSpecialise (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1685, in test_getAggregatedAmountListOrderSpecialise
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CreateOrder
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_getAggregatedAmountListWithComplexModelLinesCreateInEasyOrder (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2133, in test_getAggregatedAmountListWithComplexModelLinesCreateInEasyOrder
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTotalDiscount
      CreateTradeModelLine
      ModifyTradeModelLineTotalTax
      CreateTradeModelLine
      ModifyTradeModelLineTaxContributingToTotalTax2
      CreateTradeModelLine
      ModifyTradeModelLineDiscountContributingToTotalDiscount
      CreateTradeModelLine
      ModifyTradeModelLineTaxContributingToTotalTax
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      Tic
    > CheckAggregatedAmountListWithComplexBaseContributionBaseApplication
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1292, in stepCheckAggregatedAmountListWithComplexBaseContributionBaseApplication
    self.assertEquals(5, len(amount_list))
AssertionError: 5 != 0



FAIL: test_getAggregatedAmountListWithComplexModelLinesCreateInRandomOrder (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2198, in test_getAggregatedAmountListWithComplexModelLinesCreateInRandomOrder
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTaxContributingToTotalTax
      CreateTradeModelLine
      ModifyTradeModelLineTaxContributingToTotalTax2
      CreateTradeModelLine
      ModifyTradeModelLineTotalTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscountContributingToTotalDiscount
      CreateTradeModelLine
      ModifyTradeModelLineTotalDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      Tic
    > CheckAggregatedAmountListWithComplexBaseContributionBaseApplication
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1292, in stepCheckAggregatedAmountListWithComplexBaseContributionBaseApplication
    self.assertEquals(5, len(amount_list))
AssertionError: 5 != 0



FAIL: test_getAggregatedAmountList_afterUpdateAggregatedAmountList (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1704, in test_getAggregatedAmountList_afterUpdateAggregatedAmountList
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      UpdateAggregatedAmountListOnOrder
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2349, in test_BuildTradeModelLineAndAccountingFromInvoice
    self.assertEquals(2, len(invoice.getMovementList()))
AssertionError: 2 != 1



FAIL: test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2262, in test_BuildTradeModelLineAndAccountingFromOrder
    self.assertEquals(2, len(invoice.getMovementList()))
AssertionError: 2 != 1



FAIL: test_TradeModelRuleSimulationBuildInvoice (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1838, in test_TradeModelRuleSimulationBuildInvoice
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check that having properly configured invoice transaction rule it invoice transaction lines are nicely generated and have proper amounts
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2015, in test_TradeModelRuleSimulationBuildInvoiceBuildInvoiceTransactionLines
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      StartInvoice
      Tic
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceAccountingMovements
      StopInvoice
      DeliverInvoice
      Tic
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check that after changing invoice line invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1982, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      GetInvoiceLineDiscounted
      GetInvoiceLineDiscountedTaxed
      GetInvoiceLineTaxed
      ModifyQuantityInvoiceLineDiscounted
      ModifyQuantityInvoiceLineDiscountedTaxed
      ModifyQuantityInvoiceLineTaxed
      Tic
      CheckInvoiceCausalityStateDiverged
      AcceptDecisionQuantityInvoice
      Tic
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check how is supported addition of invoice line to invoice build from order
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1944, in test_TradeModelRuleSimulationBuildInvoiceNewInvoiceLineSupport
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CreateInvoiceLine
      ModifyInvoiceLineDiscounted
      CreateInvoiceLine
      ModifyInvoiceLineDiscountedTaxed
      CreateInvoiceLine
      ModifyInvoiceLineTaxed
      Tic
      CheckInvoiceCausalityStateSolved
      StartInvoice
      Tic
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceAccountingMovements
      StopInvoice
      DeliverInvoice
      Tic
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check that after changing trade condition invoice is not diverged
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1900, in test_TradeModelRuleSimulationBuildInvoiceNewTradeCondition
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetTradeConditionOld
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineNewTax
      CreateTradeModelLine
      ModifyTradeModelLineNewDiscount
      Tic
      SpecialiseInvoiceTradeCondition
      Tic
      CheckInvoiceCausalityStateSolved
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_TradeModelRuleSimulationBuildInvoiceOrderSpecialise (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1862, in test_TradeModelRuleSimulationBuildInvoiceOrderSpecialise
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CreateOrder
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Tests tree of simulations from Trade Model Rule
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1723, in test_TradeModelRuleSimulationExpand
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_TradeModelRuleSimulationExpandOrderSpecialise (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1764, in test_TradeModelRuleSimulationExpandOrderSpecialise
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CreateOrder
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check building invoice after splitting packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2070, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuild
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2063, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Tests tree of simulations from Trade Model Rule with reexpanding
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1735, in test_TradeModelRuleSimulationReexpand
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ModifyAgainOrderLineTaxed
      ModifyAgainOrderLineDiscounted
      ModifyAgainOrderLineDiscountedTaxed
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_TradeModelRuleSimulationReexpandOrderSpecialise (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1776, in test_TradeModelRuleSimulationReexpandOrderSpecialise
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CreateOrder
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ModifyAgainOrderLineTaxed
      ModifyAgainOrderLineDiscounted
      ModifyAgainOrderLineDiscountedTaxed
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Tests tree of simulations from Trade Model Rule with reexpanding when resource changes on model
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1750, in test_TradeModelRuleSimulationReexpandResourceChange
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CreateServiceTax
      CreateServiceDiscount
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      OrderCreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_getAggregatedAmountList (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1643, in test_getAggregatedAmountList
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_getAggregatedAmountListOrderSpecialise (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1685, in test_getAggregatedAmountListOrderSpecialise
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      Tic
      CreateOrder
      OrderCreateTradeModelLine
      ModifyTradeModelLineDiscount
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: test_getAggregatedAmountListWithComplexModelLinesCreateInEasyOrder (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2133, in test_getAggregatedAmountListWithComplexModelLinesCreateInEasyOrder
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTotalDiscount
      CreateTradeModelLine
      ModifyTradeModelLineTotalTax
      CreateTradeModelLine
      ModifyTradeModelLineTaxContributingToTotalTax2
      CreateTradeModelLine
      ModifyTradeModelLineDiscountContributingToTotalDiscount
      CreateTradeModelLine
      ModifyTradeModelLineTaxContributingToTotalTax
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      Tic
    > CheckAggregatedAmountListWithComplexBaseContributionBaseApplication
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1292, in stepCheckAggregatedAmountListWithComplexBaseContributionBaseApplication
    self.assertEquals(5, len(amount_list))
AssertionError: 5 != 0



FAIL: test_getAggregatedAmountListWithComplexModelLinesCreateInRandomOrder (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2198, in test_getAggregatedAmountListWithComplexModelLinesCreateInRandomOrder
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTaxContributingToTotalTax
      CreateTradeModelLine
      ModifyTradeModelLineTaxContributingToTotalTax2
      CreateTradeModelLine
      ModifyTradeModelLineTotalTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscountContributingToTotalDiscount
      CreateTradeModelLine
      ModifyTradeModelLineTotalDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      Tic
    > CheckAggregatedAmountListWithComplexBaseContributionBaseApplication
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1292, in stepCheckAggregatedAmountListWithComplexBaseContributionBaseApplication
    self.assertEquals(5, len(amount_list))
AssertionError: 5 != 0



FAIL: test_getAggregatedAmountList_afterUpdateAggregatedAmountList (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1704, in test_getAggregatedAmountList_afterUpdateAggregatedAmountList
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
    > CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      UpdateAggregatedAmountListOnOrder
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1242, in stepCheckOrderComplexTradeConditionAggregatedAmountList
    self.assertEquals(2, len(amount_list))
AssertionError: 2 != 0



FAIL: Check that if no DATE are defined on a model, the behavior is that
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testPayroll.py", line 3267, in test_modelWithoutDateValidity
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreatePriceCurrency
      CreateLabourOutputService
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      Tic
    > CheckModelWithoutDateValidity
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testPayroll.py", line 1601, in stepCheckModelWithoutDateValidity
    portal_type='Pay Sheet Line')), 0)
AssertionError: 1 != 0



ERROR: test_BusinessPath_implements_IArrowBase (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IArrowBase.IArrowBase>

        The getDestinationArrowBaseCategoryList attribute was not provided.
        



ERROR: test_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IBusinessPath.IBusinessPath>

        The getExpectedCompletionDuration attribute was not provided.
        



ERROR: test_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of _getAcquiredCategoryMembershipList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TradeCondition_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of getAggregatedAmountList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TradeModelCell_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of updateAggregatedAmountList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TradeModelCell_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IVariated.IVariated>

        The _setVariationBaseCategoryList attribute was not provided.
        



ERROR: test_TradeModelLine_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of updateAggregatedAmountList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TradeModelLine_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IVariated.IVariated>

        The _setVariationBaseCategoryList attribute was not provided.
        



ERROR: test_Transformation_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of updateAggregatedAmountList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of getVariationRangeBaseCategoryItemList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TransformedResource_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 81, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IVariated.IVariated>

        The _setVariationBaseCategoryList attribute was not provided.
        



FAIL: test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 1018, in test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.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
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
    > AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckDivergedOnPackingList
      CheckDivergedQuantityOnPackingList
      AdoptPrevisionOnPackingList
      Tic
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 198, in stepAcceptDecisionOnInvoice
    self.assertEquals(2, len(builder_list))
AssertionError: 2 != 1



FAIL: Accept divergence with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 303, in test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.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
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      StopPackingList
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
    > AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckSolvedOnPackingList
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 198, in stepAcceptDecisionOnInvoice
    self.assertEquals(2, len(builder_list))
AssertionError: 2 != 1



FAIL: Adopt quantity with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 325, in test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.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
      StartPackingList
      StopPackingList
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
    > AdoptPrevisionOnInvoice
      Tic
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 258, in stepAdoptPrevisionOnInvoice
    self.assertEquals(2, len(builder_list))
AssertionError: 2 != 1



FAIL: Accept divergence with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 303, in test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.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
      Tic
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      StopPackingList
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
    > AcceptDecisionOnInvoice
      Tic
      CheckDivergenceOnInvoice
      CheckSolvedOnPackingList
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 198, in stepAcceptDecisionOnInvoice
    self.assertEquals(2, len(builder_list))
AssertionError: 2 != 1



FAIL: Adopt quantity with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 325, in test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.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
      Tic
      StartPackingList
      StopPackingList
      Tic
      ChangeQuantityDoubledOnInvoice
      Tic
      CheckDivergedQuantityOnInvoice
    > AdoptPrevisionOnInvoice
      Tic
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAdvancedInvoicing.py", line 258, in stepAdoptPrevisionOnInvoice
    self.assertEquals(2, len(builder_list))
AssertionError: 2 != 1



FAIL: Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTemplate.py", line 278, in test_manyTemplatesWithoutReindexation
    self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2



FAIL: test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/Products/ERP5Type/tests/testXMLMatrix.py", line 342, in test_9999_SetCellRangeAndCatalogWithoutActivities
    self.checkSetCellRangeAndCatalog(active=0)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/Products/ERP5Type/tests/testXMLMatrix.py", line 213, in checkSetCellRangeAndCatalog
    matrix = order.newContent(id='1', portal_type='Purchase Order Line')
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 456, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    is_indexable=is_indexable
  File "/usr/lib/erp5/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
    ob = info.constructInstance(container, id, *args, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/ERP5Type.py", line 273, in constructInstance
    ob = self._constructInstance(container, id, *args, **kw)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/TypesTool.py", line 571, in _constructInstance
    newid = m(id, *args, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Utils.py", line 408, in __call__
    folder._setObject(id, o)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Base.py", line 230, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, in _setObject
    return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
  File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 431, in _setObject
    object.manage_afterAdd(object, self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 362, in manage_afterAdd
    return Movement.manage_afterAdd(self, item, container)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/CopySupport.py", line 317, in manage_afterAdd
    self.reindexObject()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 243, in reindexObject
    self.recursiveReindexObject(*k, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1193, in recursiveReindexObject
    serialization_tag=self.getRootDocumentPath(),
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1218, in recursiveImmediateReindexObject
    self.immediateReindexObject(**kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Base.py", line 2805, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 830, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 701, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 832, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1258, in catalogObjectList
    idxs=idxs)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1372, in _catalogObjectList
    'uid of %r changed from %r to %r as old one is assigned to %s in catalog !!! This can be fatal. You should reindex the whole site immediately.' % (object, uid, object.uid, catalog_path))
  File "/usr/lib/erp5/lib/python/zLOG/__init__.py", line 134, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/tests/base/testcase.py", line 44, in log_write
    assert 0, "%s(%s): %s" % (subsystem, severity, summary)
AssertionError: SQLCatalog(200): uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/1/1> changed from 105L to 105L as old one is assigned to /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/1 in catalog !!! This can be fatal. You should reindex the whole site immediately.



ERROR: test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 155, in test_01_PersistentCacheConversion
    document.convert(format=format)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 413, in convert
    mime, data = self._convert(format)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 342, in _convert
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'



ERROR: test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 191, in test_02_VolatileCacheConversionOfTempObject
    document.convert(format=format)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 413, in convert
    mime, data = self._convert(format)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 342, in _convert
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'



More information about the Erp5-report mailing list