[Erp5-report] ERP5_z212 r31898: 3101 Tests, 101 Errors, 33 Failures, 18 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Jan 23 08:33:09 CET 2010


Test Suite: ERP5_z212
Revision: 31898
Result: FAIL

All tests: 3101
Failures: 33
Errors: 101
Skips: 18


The following tests failed:

  testAccounting                                     (1 failures)
   test_export_transaction (testAccounting.TestAccountingExport)

  testCRM                                            (1 failures)
   test_Base_getEntityListFromFromHeader (testCRM.TestCRMMailIngestion)

  testClassTool                                      (1 errors)
   test_AsDocumentationHelperOnClassTool (testClassTool.TestClassTool)

  testContentTranslation                             (1 errors)
   testContentTranslation (testContentTranslation.TestContentTranslation)

  testDateUtils                                      (1 failures)
   test_atTheEndOfPeriod (testDateUtils.TestDateUtils)

  testERP5Catalog                                    (1 failures, 3 skips)
   test_complex_query (testERP5Catalog.TestERP5Catalog)

  testERP5Core                                       (3 errors)
   test_Folder_delete (testERP5Core.TestERP5Core)
   test_allowed_content_types_translated (testERP5Core.TestERP5Core), Tests allowed content types from the action menu are translated
   test_jump_action_translated (testERP5Core.TestERP5Core), Tests jump actions are translated

  testERP5Interfaces                                 (17 errors)
   test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.Document_Document_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.EmailDocument_EmailDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.Event_Event_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.File_File_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.Image_Image_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.OOoDocument_OOoDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TextDocument_TextDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.Transformation_Transformation_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)

  testERP5Simulation                                 (74 errors)
   test_PackingList_viewAsODT (testERP5Simulation.TestERP5SimulationPackingList)
   test_PackingList_viewAsODT (testERP5Simulation.TestERP5SimulationPackingList)
   test_SplitAndDeferDoNothing (testERP5Simulation.TestERP5SimulationPackingList)
   test_SplitAndDeferDoNothing (testERP5Simulation.TestERP5SimulationPackingList)
   test_01_SimpleInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_01_SimpleInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_01_quantity_unit_copied (testERP5Simulation.TestERP5SimulationInvoice)
   test_01_quantity_unit_copied (testERP5Simulation.TestERP5SimulationInvoice)
   test_02_TwoInvoicesFromTwoPackingList (testERP5Simulation.TestERP5SimulationInvoice)
   test_02_TwoInvoicesFromTwoPackingList (testERP5Simulation.TestERP5SimulationInvoice)
   test_03_InvoiceEditAndInvoiceRule (testERP5Simulation.TestERP5SimulationInvoice)
   test_03_InvoiceEditAndInvoiceRule (testERP5Simulation.TestERP5SimulationInvoice)
   test_04_PackingListEditAndInvoiceRule (testERP5Simulation.TestERP5SimulationInvoice)
   test_04_PackingListEditAndInvoiceRule (testERP5Simulation.TestERP5SimulationInvoice)
   test_05_InvoiceEditPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
   test_05_InvoiceEditPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
   test_06_InvoiceDeletePackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
   test_06_InvoiceDeletePackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
   test_07_InvoiceAddPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
   test_07_InvoiceAddPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
   test_08_InvoiceDecreaseQuantity (testERP5Simulation.TestERP5SimulationInvoice)
   test_08_InvoiceDecreaseQuantity (testERP5Simulation.TestERP5SimulationInvoice)
   test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
   test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
   test_09b_InvoiceChangeStartDateSucceed (testERP5Simulation.TestERP5SimulationInvoice)
   test_09b_InvoiceChangeStartDateSucceed (testERP5Simulation.TestERP5SimulationInvoice)
   test_10_AcceptDecisionOnPackingList (testERP5Simulation.TestERP5SimulationInvoice)
   test_10_AcceptDecisionOnPackingList (testERP5Simulation.TestERP5SimulationInvoice)
   test_11_AcceptDecisionOnPackingListAndInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_11_AcceptDecisionOnPackingListAndInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_12_SplitPackingListAndAcceptInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_12_SplitPackingListAndAcceptInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_13_SplitAndDeferInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_13_SplitAndDeferInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_14_AcceptDecisionOnInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_14_AcceptDecisionOnInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_16_ManuallyAddedMovements (testERP5Simulation.TestERP5SimulationInvoice)
   test_16_ManuallyAddedMovements (testERP5Simulation.TestERP5SimulationInvoice)
   test_16a_ManuallyAddedMovementsManyTransactions (testERP5Simulation.TestERP5SimulationInvoice)
   test_16a_ManuallyAddedMovementsManyTransactions (testERP5Simulation.TestERP5SimulationInvoice)
   test_17_ManuallyAddedWrongMovements (testERP5Simulation.TestERP5SimulationInvoice)
   test_17_ManuallyAddedWrongMovements (testERP5Simulation.TestERP5SimulationInvoice)
   test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)
   test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)
   test_CopyAndPaste (testERP5Simulation.TestERP5SimulationInvoice), Test copy on paste on Invoice.
   test_Invoice_viewAsODT (testERP5Simulation.TestERP5SimulationInvoice)
   test_Invoice_viewAsODT (testERP5Simulation.TestERP5SimulationInvoice)
   test_Invoice_viewAsODT_empty_image (testERP5Simulation.TestERP5SimulationInvoice)
   test_Invoice_viewAsODT_empty_image (testERP5Simulation.TestERP5SimulationInvoice)
   test_Invoice_viewAsODT_invalid_image (testERP5Simulation.TestERP5SimulationInvoice)
   test_Invoice_viewAsODT_invalid_image (testERP5Simulation.TestERP5SimulationInvoice)
   test_Reference (testERP5Simulation.TestERP5SimulationInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
   test_delivery_mode_and_incoterm_on_invoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_delivery_mode_and_incoterm_on_invoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_description_copied_on_lines (testERP5Simulation.TestERP5SimulationInvoice)
   test_description_copied_on_lines (testERP5Simulation.TestERP5SimulationInvoice)
   test_invoice_building_with_cells (testERP5Simulation.TestERP5SimulationInvoice)
   test_invoice_building_with_cells (testERP5Simulation.TestERP5SimulationInvoice)
   test_invoice_building_with_cells_and_aggregate (testERP5Simulation.TestERP5SimulationInvoice)
   test_invoice_building_with_cells_and_aggregate (testERP5Simulation.TestERP5SimulationInvoice)
   test_invoice_created_from_packing_list_with_no_order (testERP5Simulation.TestERP5SimulationInvoice)
   test_invoice_created_from_packing_list_with_no_order (testERP5Simulation.TestERP5SimulationInvoice)
   test_invoice_transaction_line_resource (testERP5Simulation.TestERP5SimulationInvoice)
   test_invoice_transaction_line_resource (testERP5Simulation.TestERP5SimulationInvoice)
   test_modify_planned_order_invoice_transaction_rule (testERP5Simulation.TestERP5SimulationInvoice)
   test_modify_planned_order_invoice_transaction_rule (testERP5Simulation.TestERP5SimulationInvoice)
   test_modify_planned_order_invoicing_rule (testERP5Simulation.TestERP5SimulationInvoice)
   test_modify_planned_order_invoicing_rule (testERP5Simulation.TestERP5SimulationInvoice)

  testERP5TypeInterfaces                             (1 errors)
   test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)

  testERP5Web                                        (1 failures)
   test_15_Check_LastModified_Header (testERP5Web.TestERP5Web), This allow check that Last-Modified set by caching policy manager

  testFields                                         (1 failures)
   test_get_value_cache_on_TALES_target (testFields.TestProxyField)

  testFormPrintoutAsODT                              (1 failures)
   test_09_FieldReplacement (testFormPrintoutAsODT.TestFormPrintoutAsODT), test field in ODF Documents

  testInventoryAPI                                   (11 failures)
   test_01_CurrentInventoryWithFullInventory (testInventoryAPI.TestInventoryDocument)
   test_02_InventoryAtLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_03_InventoryAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_05_InventoryListWithFullInventory (testInventoryAPI.TestInventoryDocument)
   test_06_InventoryListAtLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_07_InventoryListAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_09_InventoryListGroupedByResource (testInventoryAPI.TestInventoryDocument)
   test_10_InventoryListGroupedByResourceBeforeLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_11_InventoryListAroundLatestInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_12_InventoryListWithOrderByDate (testInventoryAPI.TestInventoryDocument)
   test_13_InventoryAfterModificationInPast (testInventoryAPI.TestInventoryDocument)

  testInvoice                                        (1 errors)
   test_17_ManuallyAddedWrongMovements (testInvoice.TestSaleInvoice)

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

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

  testProxyField                                     (1 failures)
   testSkinSelectionTemplateField (testProxyField.TestProxyField)

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

  testTemplate                                       (2 failures)
   test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
   test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation

  testTradeModelLine                                 (2 failures)
   test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale), Check that after changing invoice line invoice is properly diverged and it is possible to solve
   test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio

  testTradeModelLinePurchase                         (2 failures)
   test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check that after changing invoice line invoice is properly diverged and it is possible to solve
   test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio

  testTranslation                                    (1 failures)
   test_standard_translated_related_keys (testTranslation.TestTranslation)

  testTrashTool                                      (3 errors)
   test_04_checkBackupWithSubObjects (testTrashTool.TestTrashTool)
   test_05_checkBackupWithTrashSubObjects (testTrashTool.TestTrashTool)
   test_06_checkBackupofOFSFolderWithSave (testTrashTool.TestTrashTool)

  testXHTML                                          (3 failures)
   test_configurationOfFieldLibrary (testXHTML.TestXHTML)
   test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
   test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)

  testXMLMatrix                                      (1 failures)
   test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)

The following tests were at least partly skipped:

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

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

  testSQLCachedWorklist                              (1 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'

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


Attached traceback has been truncated to the first 5000 lines
-------------- next part --------------

FAIL: test_export_transaction (testAccounting.TestAccountingExport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testAccounting.py", line 2059, in test_export_transaction
    self.assertTrue('40 - Payable' in content_xml)
AssertionError


FAIL: test_Base_getEntityListFromFromHeader (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testCRM.py", line 453, in test_Base_getEntityListFromFromHeader
    (header, expected_paths, paths))
AssertionError: '"me at erp5.org,sender at customer.com," <he at erp5.org>' should return ['person_module/he'], but returned ['person_module/sender', 'person_module/he']


ERROR: test_AsDocumentationHelperOnClassTool (testClassTool.TestClassTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testClassTool.py", line 119, in test_AsDocumentationHelperOnClassTool
    class_doc_helper = class_tool.asDocumentationHelper(class_id='Folder')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Tool/ClassTool.py", line 895, in asDocumentationHelper
    subdochelper.setSourceCode(inspect.getsource(v))
  File "/usr/lib64/python2.6/inspect.py", line 689, in getsource
    lines, lnum = getsourcelines(object)
  File "/usr/lib64/python2.6/inspect.py", line 678, in getsourcelines
    lines, lnum = findsource(object)
  File "/usr/lib64/python2.6/inspect.py", line 532, in findsource
    name = object.__name__
AttributeError: 'ClassProvides' object has no attribute '__name__'


ERROR: testContentTranslation (testContentTranslation.TestContentTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testContentTranslation.py", line 105, in testContentTranslation
    self.assert_('タハラ' in person.Base_viewContentTranslation())
TypeError: 'in <string>' requires string as left operand


FAIL: test_atTheEndOfPeriod (testDateUtils.TestDateUtils)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testDateUtils.py", line 166, in test_atTheEndOfPeriod
    self.assertEqual(atTheEndOfPeriod(date, 'year').pCommonZ(), 'Jan. 1, 2009 12:00 am Universal')
AssertionError: 'Jan. 1, 2009 12:00 am UTC' != 'Jan. 1, 2009 12:00 am Universal'


FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/tests/testERP5Catalog.py", line 2323, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3


ERROR: test_Folder_delete (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Core.py", line 318, in test_Folder_delete
    md5_object_uid_list=md5_string)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1210, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 93, in Folder_delete
AttributeError: getActionsFor


ERROR: test_allowed_content_types_translated (testERP5Core.TestERP5Core), Tests allowed content types from the action menu are translated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Core.py", line 195, in test_allowed_content_types_translated
    from Products.PageTemplates.GlobalTranslationService import \
ImportError: No module named GlobalTranslationService


ERROR: test_jump_action_translated (testERP5Core.TestERP5Core), Tests jump actions are translated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Core.py", line 211, in test_jump_action_translated
    from Products.PageTemplates.GlobalTranslationService import \
ImportError: No module named GlobalTranslationService


ERROR: test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IAmountList.IAmountList>

        


ERROR: test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 63, in _verify
    raise BrokenImplementation(iface, name)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IBusinessPath.IBusinessPath>

        The getExpectedCompletionDuration attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 89, in _verify
    raise BrokenMethodImplementation(name, mess)
BrokenMethodImplementation: The implementation of _getAcquiredCategoryMembershipList violates its contract
        because implementation doesn't allow enough arguments.
        


ERROR: test_Products.ERP5Type.Document.Document_Document_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.EmailDocument_EmailDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.Event_Event_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.File_File_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.Image_Image_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.OOoDocument_OOoDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.TextDocument_TextDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 63, in _verify
    raise BrokenImplementation(iface, name)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IAmountGenerator.IAmountGenerator>

        The getGeneratedAmountList attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 63, in _verify
    raise BrokenImplementation(iface, name)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IAmountGenerator.IAmountGenerator>

        The getGeneratedAmountList attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 63, in _verify
    raise BrokenImplementation(iface, name)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IAmountGenerator.IAmountGenerator>

        The getGeneratedAmountList attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 63, in _verify
    raise BrokenImplementation(iface, name)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IRule.IRule>

        The updateMovementCollection attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 63, in _verify
    raise BrokenImplementation(iface, name)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IRule.IRule>

        The updateMovementCollection attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.Transformation_Transformation_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 63, in _verify
    raise BrokenImplementation(iface, name)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IAmountGenerator.IAmountGenerator>

        The getGeneratedAmountList attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 89, in _verify
    raise BrokenMethodImplementation(name, mess)
BrokenMethodImplementation: The implementation of getVariationRangeCategoryItemList violates its contract
        because implementation doesn't allow enough arguments.
        


ERROR: test_PackingList_viewAsODT (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1396, in test_PackingList_viewAsODT
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_PackingList_viewAsODT (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_SplitAndDeferDoNothing (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1340, in test_SplitAndDeferDoNothing
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
    > Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      IncreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferDoNothingPackingList
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      CheckPackingListNotSolved
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1019, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_SplitAndDeferDoNothing (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_01_SimpleInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2540, in test_01_SimpleInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckInvoiceLineHasReferenceAndIntIndex
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_01_SimpleInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_01_quantity_unit_copied (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 1378, in test_01_quantity_unit_copied
    self.tic()#execute transaction
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_01_quantity_unit_copied (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_02_TwoInvoicesFromTwoPackingList (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2572, in test_02_TwoInvoicesFromTwoPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      DefineNewPackingListContainer
      Tic
      CheckNewPackingListIsPacked
      SetReadyPackingList
      SetReadyNewPackingList
      Tic
      StartPackingList
      StartNewPackingList
      Tic
      CheckTwoInvoices
      RemoveDateMovementGroupForTransactionBuilder
      StartTwoInvoices
      Tic
      CheckTwoInvoicesTransactionLines
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_02_TwoInvoicesFromTwoPackingList (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_03_InvoiceEditAndInvoiceRule (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2603, in test_03_InvoiceEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      EditInvoice
      CheckInvoiceRuleNotAppliedOnInvoiceEdit
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_03_InvoiceEditAndInvoiceRule (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_04_PackingListEditAndInvoiceRule (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2621, in test_04_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      EditPackingList
      CheckDeliveryRuleNotAppliedOnPackingListEdit
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_04_PackingListEditAndInvoiceRule (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_05_InvoiceEditPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2645, in test_05_InvoiceEditPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      EditPackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_05_InvoiceEditPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_06_InvoiceDeletePackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2669, in test_06_InvoiceDeletePackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      Tic
      SetContainerFullQuantity
      Tic
      CheckPackingListIsPacked
      DeletePackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_06_InvoiceDeletePackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_07_InvoiceAddPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2696, in test_07_InvoiceAddPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      AddPackingListLine
      SetContainerFullQuantity
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_07_InvoiceAddPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_08_InvoiceDecreaseQuantity (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2735, in test_08_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_08_InvoiceDecreaseQuantity (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2769, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckPackingListIsDivergent
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_09b_InvoiceChangeStartDateSucceed (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2813, in test_09b_InvoiceChangeStartDateSucceed
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_09b_InvoiceChangeStartDateSucceed (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_10_AcceptDecisionOnPackingList (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2878, in test_10_AcceptDecisionOnPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_10_AcceptDecisionOnPackingList (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_11_AcceptDecisionOnPackingListAndInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3014, in test_11_AcceptDecisionOnPackingListAndInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionQuantity
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      IncreaseInvoiceLineQuantity
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_11_AcceptDecisionOnPackingListAndInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_12_SplitPackingListAndAcceptInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3126, in test_12_SplitPackingListAndAcceptInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      CheckInvoicingRule
      DecreasePackingListLineQuantity
      SetContainerFullQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      IncreaseInvoiceLineQuantity
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsSolved
      CheckInvoiceNotSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      SwitchPackingLists
      AddPackingListContainer
      SetContainerFullQuantity
      Tic
      CheckPackingListIsSolved
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      SetInvoiceLineQuantityToZero
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsSolved
      CheckInvoiceNotSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_12_SplitPackingListAndAcceptInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_13_SplitAndDeferInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3195, in test_13_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      SwitchInvoices
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_13_SplitAndDeferInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_14_AcceptDecisionOnInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3262, in test_14_AcceptDecisionOnInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      AcceptDecisionQuantityInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_14_AcceptDecisionOnInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_16_ManuallyAddedMovements (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3313, in test_16_ManuallyAddedMovements
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLines
      Tic
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_16_ManuallyAddedMovements (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_16a_ManuallyAddedMovementsManyTransactions (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2929, in test_16a_ManuallyAddedMovementsManyTransactions
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLinesManyTransactions
      Tic
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_16a_ManuallyAddedMovementsManyTransactions (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_17_ManuallyAddedWrongMovements (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3339, in test_17_ManuallyAddedWrongMovements
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      AddWrongInvoiceLines
      Tic
      StartInvoice
      CheckStartInvoiceFail
      CheckSimulationTrees
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_17_ManuallyAddedWrongMovements (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3361, in test_18_compareInvoiceAndPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      CheckInvoicesConsistency
      CheckPackingListInvoice
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_CopyAndPaste (testERP5Simulation.TestERP5SimulationInvoice), Test copy on paste on Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_Invoice_viewAsODT (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 824, in test_Invoice_viewAsODT
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_Invoice_viewAsODT (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_Invoice_viewAsODT_empty_image (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 863, in test_Invoice_viewAsODT_empty_image
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_Invoice_viewAsODT_empty_image (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_Invoice_viewAsODT_invalid_image (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 914, in test_Invoice_viewAsODT_invalid_image
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_Invoice_viewAsODT_invalid_image (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_Reference (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_accept_quantity_divergence_on_invoice_with_started_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3375, in test_accept_quantity_divergence_on_invoice_with_started_packing_list
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_accept_quantity_divergence_on_invoice_with_started_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 1462, in test_accept_quantity_divergence_on_invoice_with_stopped_packing_list
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 1523, in test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_delivery_mode_and_incoterm_on_invoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 1312, in test_delivery_mode_and_incoterm_on_invoice
    self.createInvoiceTransactionRule(currency)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_delivery_mode_and_incoterm_on_invoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_description_copied_on_lines (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 1248, in test_description_copied_on_lines
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_description_copied_on_lines (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_invoice_building_with_cells (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 972, in test_invoice_building_with_cells
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_invoice_building_with_cells (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_invoice_building_with_cells_and_aggregate (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 1160, in test_invoice_building_with_cells_and_aggregate
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_invoice_building_with_cells_and_aggregate (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_invoice_created_from_packing_list_with_no_order (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 1070, in test_invoice_created_from_packing_list_with_no_order
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_invoice_created_from_packing_list_with_no_order (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_invoice_transaction_line_resource (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 338, in test_invoice_transaction_line_resource
    self.createInvoiceTransactionRule(currency)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_invoice_transaction_line_resource (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_modify_planned_order_invoice_transaction_rule (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 598, in test_modify_planned_order_invoice_transaction_rule
    self.createInvoiceTransactionRule(currency)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_modify_planned_order_invoice_transaction_rule (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_modify_planned_order_invoicing_rule (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 428, in test_modify_planned_order_invoicing_rule
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_modify_planned_order_invoicing_rule (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 668, in tic
    error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_99149783a620b553467610cb3e8b7b12/sale_packing_list_module/25', 'expand', -2, 6)] 
Last error message:
TypeError
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 790, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5Type.Document.DeliveryRule, line 200, in expand
  Module Products.ERP5.Document.Rule, line 167, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 290, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
  Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
  Module Products.ERP5.mixin.rule, line 114, in expand
  Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
  Module Products.ERP5.mixin.movement_collection_updater, line 157, in getMovementCollectionDiff
  Module Products.ERP5.mixin.rule, line 308, in _extendMovementCollectionDiff
  Module Products.ERP5.mixin.divergence_tester, line 127, in compare
  Module Products.ERP5Type.Document.DateTimeDivergenceTester, line 76, in _compare
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'




ERROR: test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 94, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.interface-3.5.3-py2.6-linux-x86_64.egg/zope/interface/verify.py", line 63, in _verify
    raise BrokenImplementation(iface, name)
BrokenImplementation: An object has failed to implement interface <InterfaceClass Products.ERP5Type.interfaces.consistency_message.IConsistencyMessage>

        The fix attribute was not provided.
        


FAIL: test_15_Check_LastModified_Header (testERP5Web.TestERP5Web), This allow check that Last-Modified set by caching policy manager
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Web.py", line 1212, in test_15_Check_LastModified_Header
    self.assertEqual(modification_date, last_modified_header)
AssertionError: 'Sat, 23 Jan 2010 02:36:16 GMT' != 'Sat, 23 Jan 2010 02:32:30 GMT'


FAIL: test_get_value_cache_on_TALES_target (testFields.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/tests/testFields.py", line 423, in test_get_value_cache_on_TALES_target
    self.assertEquals(original_field, proxy_field.getTemplateField())
AssertionError: <StringField at root/container/Base_viewProxyFieldLibrary/my_title> != None


FAIL: test_09_FieldReplacement (testFormPrintoutAsODT.TestFormPrintoutAsODT), test field in ODF Documents
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testFormPrintoutAsODT.py", line 1163, in test_09_FieldReplacement
    self._validate(self.getODFDocumentFromPrintout(foo_printout))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testFormPrintout.py", line 60, in _validate
    self.fail(''.join(error_list))
AssertionError: <string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"


FAIL: test_01_CurrentInventoryWithFullInventory (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2070, in test_01_CurrentInventoryWithFullInventory
    inventory_kw={'node_uid': self.node_uid})
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2058, in getInventoryEquals
    self.assertEquals(value, self.getInventory(**inventory_kw))
AssertionError: 100002 != 0.0


FAIL: test_02_InventoryAtLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2079, in test_02_InventoryAtLatestFullInventoryDate
    'at_date': self.INVENTORY_DATE_3})
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2058, in getInventoryEquals
    self.assertEquals(value, self.getInventory(**inventory_kw))
AssertionError: 100000 != 0.0


FAIL: test_03_InventoryAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2090, in test_03_InventoryAtEarlierFullInventoryDate
    1})
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2058, in getInventoryEquals
    self.assertEquals(value, self.getInventory(**inventory_kw))
AssertionError: 10002 != 0.0


FAIL: test_05_InventoryListWithFullInventory (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2120, in test_05_InventoryListWithFullInventory
    self._checkInventoryList(inventory, reference_inventory)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2026, in _checkInventoryList
    self.assertEquals(len(inventory_list), len(criterion_dict_list))
AssertionError: 1 != 2


FAIL: test_06_InventoryListAtLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2134, in test_06_InventoryListAtLatestFullInventoryDate
    self._checkInventoryList(inventory, reference_inventory)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2026, in _checkInventoryList
    self.assertEquals(len(inventory_list), len(criterion_dict_list))
AssertionError: 0 != 1


FAIL: test_07_InventoryListAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2151, in test_07_InventoryListAtEarlierFullInventoryDate
    self._checkInventoryList(inventory, reference_inventory)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2051, in _checkInventoryList
    (inventory_list, criterion_dict)
AssertionError: No line in [{'variation_text': None, 'project_uid': None, 'node_relative_url': None, 'node_title': None, 'date': None, 'payment_uid': None, 'total_quantity': None, 'function_uid': None, 'inventory': None, 'section_relative_url': None, 'simulation_state': None, 'stock_uid': None, 'section_uid': None, 'node_uid': None, 'sub_variation_text': None, 'mirror_section_uid': None, 'path': None, 'total_price': None, 'section_title': None, 'resource_uid': None, 'resource_title': None, 'resource_relative_url': None, 'mirror_node_uid': None}, {'variation_text': None, 'project_uid': None, 'node_relative_url': None, 'node_title': None, 'date': None, 'payment_uid': None, 'total_quantity': None, 'function_uid': None, 'inventory': None, 'section_relative_url': None, 'simulation_state': None, 'stock_uid': None, 'section_uid': None, 'node_uid': None, 'sub_variation_text': None, 'mirror_section_uid': None, 'path': None, 'total_price': None, 'section_title': None, 'resource_uid': None, 'resource_title': None, 'resource_relative_url': None, 'mirror_node_uid': None}] match {'date': DateTime('2010/01/01'), 'node_uid': 2366L, 'inventory': 10000}


FAIL: test_09_InventoryListGroupedByResource (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2185, in test_09_InventoryListGroupedByResource
    self._checkInventoryList(inventory, reference_inventory)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2051, in _checkInventoryList
    (inventory_list, criterion_dict)
AssertionError: No line in [{'variation_text': None, 'project_uid': None, 'node_relative_url': None, 'node_title': None, 'date': None, 'payment_uid': None, 'total_quantity': None, 'function_uid': None, 'inventory': None, 'section_relative_url': None, 'simulation_state': None, 'stock_uid': None, 'section_uid': None, 'node_uid': None, 'sub_variation_text': None, 'mirror_section_uid': None, 'path': None, 'total_price': None, 'section_title': None, 'resource_uid': None, 'resource_title': None, 'resource_relative_url': None, 'mirror_node_uid': None}] match {'node_uid': 2318L, 'inventory': 100002, 'resource_uid': 2310L}


FAIL: test_10_InventoryListGroupedByResourceBeforeLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2200, in test_10_InventoryListGroupedByResourceBeforeLatestFullInventoryDate
    self._checkInventoryList(inventory, reference_inventory)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2051, in _checkInventoryList
    (inventory_list, criterion_dict)
AssertionError: No line in [{'variation_text': None, 'project_uid': None, 'node_relative_url': None, 'node_title': None, 'date': None, 'payment_uid': None, 'total_quantity': None, 'function_uid': None, 'inventory': None, 'section_relative_url': None, 'simulation_state': None, 'stock_uid': None, 'section_uid': None, 'node_uid': None, 'sub_variation_text': None, 'mirror_section_uid': None, 'path': None, 'total_price': None, 'section_title': None, 'resource_uid': None, 'resource_title': None, 'resource_relative_url': None, 'mirror_node_uid': None}] match {'node_uid': 2294L, 'inventory': 10002, 'resource_uid': 2286L}


FAIL: test_11_InventoryListAroundLatestInventoryDate (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2224, in test_11_InventoryListAroundLatestInventoryDate
    self._checkInventoryList(inventory, reference_inventory)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2026, in _checkInventoryList
    self.assertEquals(len(inventory_list), len(criterion_dict_list))
AssertionError: 2 != 3


FAIL: test_12_InventoryListWithOrderByDate (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2252, in test_12_InventoryListWithOrderByDate
    ordered_check=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2026, in _checkInventoryList
    self.assertEquals(len(inventory_list), len(criterion_dict_list))
AssertionError: 2 != 3


FAIL: test_13_InventoryAfterModificationInPast (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInventoryAPI.py", line 2279, in test_13_InventoryAfterModificationInPast
    self.assertEquals(value, self.getInventory(**inventory_kw))
AssertionError: 100000 != 0.0


ERROR: test_17_ManuallyAddedWrongMovements (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3339, in test_17_ManuallyAddedWrongMovements
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
    transaction.commit()
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      AddWrongInvoiceLines
      Tic
      StartInvoice
    > CheckStartInvoiceFail
      CheckSimulationTrees
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 314, in commit
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 178, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 558, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 443, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 237, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 365, in __call__
    self.run(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 3339, in test_17_ManuallyAddedWrongMovements
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvoice.py", line 2401, in stepCheckStartInvoiceFail
    self.tic()

(truncated) ...


More information about the Erp5-report mailing list