[Erp5-report] ERP5 r31899: 3099 Tests, 93 Errors, 21 Failures, 18 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 22 16:00:25 CET 2010


Test Suite: ERP5
Revision: 31899
Result: FAIL

All tests: 3099
Failures: 21
Errors: 93
Skips: 18


The following tests failed:

  testBusinessTemplate                               (1 errors)
   test_download_svn (testBusinessTemplate.TestBusinessTemplate)

  testCRM                                            (1 failures)
   test_Base_getEntityListFromFromHeader (testCRM.TestCRMMailIngestion)

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

  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

  testFormPrintoutAsODT                              (2 failures)
   test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: cell format cetting
   test_09_FieldReplacement (testFormPrintoutAsODT.TestFormPrintoutAsODT), test field in ODF Documents

  testICal                                           (1 failures)
   test_01_renderEvent (testICal.TestICal)

  testOpenOrder                                      (2 failures)
   testOpenOrderRule (testOpenOrder.TestOpenOrder)
   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

  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)

  testMRP                                            (4 skips)

  testSQLCachedWorklist                              (1 skips)

  testSelectionTool                                  (7 skips)


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

ERROR: test_download_svn (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 4912, in test_download_svn
    test_web = self.portal.portal_templates.download(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 393, in download
    bt = self._download_url(url, id)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 339, in _download_url
    file_path, headers = urlretrieve(url, temppath)
  File "/usr/lib64/python2.4/urllib.py", line 89, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib64/python2.4/urllib.py", line 222, in retrieve
    fp = self.open(url, data)
  File "/usr/lib64/python2.4/urllib.py", line 190, in open
    return getattr(self, name)(url)
  File "/usr/lib64/python2.4/site-packages/M2Crypto/m2urllib.py", line 58, in open_https
    h.endheaders()
  File "/usr/lib64/python2.4/httplib.py", line 798, in endheaders
    self._send_output()
  File "/usr/lib64/python2.4/httplib.py", line 679, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.4/httplib.py", line 646, in send
    self.connect()
  File "/usr/lib64/python2.4/site-packages/M2Crypto/httpslib.py", line 47, in connect
    self.sock.connect((self.host, self.port))
  File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 157, in connect
    if not check(self.get_peer_cert(), self.addr[0]):
  File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Checker.py", line 59, in __call__
    raise NoCertificate('peer did not return certificate')
NoCertificate: peer did not return certificate


FAIL: test_Base_getEntityListFromFromHeader (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testCRM.py", line 452, in test_Base_getEntityListFromFromHeader
    '%r should return %r, but returned %r' %
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']


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


ERROR: test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IBusinessPath.IBusinessPath>

        The getExpectedCompletionDuration attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of _getAcquiredCategoryMembershipList violates its contract
        because implementation doesn't allow enough arguments.
        


ERROR: test_Products.ERP5Type.Document.Document_Document_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of 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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1396, in test_PackingList_viewAsODT
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1340, in test_SplitAndDeferDoNothing
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
    > Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      IncreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferDoNothingPackingList
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      CheckPackingListNotSolved
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1019, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2540, in test_01_SimpleInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckInvoiceLineHasReferenceAndIntIndex
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1378, in test_01_quantity_unit_copied
    self.tic()#execute transaction
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2572, in test_02_TwoInvoicesFromTwoPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2603, in test_03_InvoiceEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      EditInvoice
      CheckInvoiceRuleNotAppliedOnInvoiceEdit
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2621, in test_04_PackingListEditAndInvoiceRule
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      EditPackingList
      CheckDeliveryRuleNotAppliedOnPackingListEdit
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2645, in test_05_InvoiceEditPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      EditPackingListLine
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2669, in test_06_InvoiceDeletePackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2696, in test_07_InvoiceAddPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      AddPackingListLine
      SetContainerFullQuantity
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2735, in test_08_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      SplitAndDeferInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2769, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckPackingListIsDivergent
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2813, in test_09b_InvoiceChangeStartDateSucceed
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2878, in test_10_AcceptDecisionOnPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3014, in test_11_AcceptDecisionOnPackingListAndInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3126, in test_12_SplitPackingListAndAcceptInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3195, in test_13_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3262, in test_14_AcceptDecisionOnInvoice
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3313, in test_16_ManuallyAddedMovements
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLines
      Tic
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2929, in test_16a_ManuallyAddedMovementsManyTransactions
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      AddInvoiceLinesManyTransactions
      Tic
      CheckInvoiceIsSolved
      StartInvoice
      Tic
      CheckSimulationTrees
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3339, in test_17_ManuallyAddedWrongMovements
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      AddWrongInvoiceLines
      Tic
      StartInvoice
      CheckStartInvoiceFail
      CheckSimulationTrees
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3361, in test_18_compareInvoiceAndPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      CheckInvoicesConsistency
      CheckPackingListInvoice
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 824, in test_Invoice_viewAsODT
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 863, in test_Invoice_viewAsODT_empty_image
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 914, in test_Invoice_viewAsODT_invalid_image
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
    > CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 149, in stepCreateSaleInvoiceTransactionRule
    self.createInvoiceTransactionRule(resource=sequence.get('resource'))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1312, in test_delivery_mode_and_incoterm_on_invoice
    self.createInvoiceTransactionRule(currency)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1248, in test_description_copied_on_lines
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 972, in test_invoice_building_with_cells
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1160, in test_invoice_building_with_cells_and_aggregate
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1070, in test_invoice_created_from_packing_list_with_no_order
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 338, in test_invoice_transaction_line_resource
    self.createInvoiceTransactionRule(currency)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 598, in test_modify_planned_order_invoice_transaction_rule
    self.createInvoiceTransactionRule(currency)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 69, in <lambda>
    wrapper = lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/UnrestrictedMethod.py", line 105, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Simulation.py", line 78, in createInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 428, in test_modify_planned_order_invoicing_rule
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 125, in beforeTearDown
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
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.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass 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.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 1212, in test_15_Check_LastModified_Header
    self.assertEqual(modification_date, last_modified_header)
AssertionError: 'Fri, 22 Jan 2010 14:28:39 GMT' != 'Fri, 22 Jan 2010 14:26:55 GMT'


FAIL: test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: cell format cetting
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 630, in test_02_Table_07_CellFormat
    self.assertEqual(date_column.attrib[date_value_attrib], '2009-04-20')
AssertionError: '2009-04-19' != '2009-04-20'


FAIL: test_09_FieldReplacement (testFormPrintoutAsODT.TestFormPrintoutAsODT), test field in ODF Documents
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 1163, in test_09_FieldReplacement
    self._validate(self.getODFDocumentFromPrintout(foo_printout))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/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_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testICal.py", line 151, in test_01_renderEvent
    self.assertEquals( # if this fail for you, try to set $TZ to Europe/Paris
AssertionError: '20070815T143000Z' != '20070815T083000Z'


FAIL: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 303, in testOpenOrderRule
    [(DateTime(3000,2,10,10,0), DateTime(3000,2,11,10,0)),
AssertionError: [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 US/Eastern'), DateTime('3000/03/11 10:00:00 US/Eastern'))] != [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 GMT-4'), DateTime('3000/03/11 10:00:00 GMT-4'))]


FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 185, in testPeriodicityDateList
    [(D(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 US/Eastern'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 US/Eastern'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 US/Eastern'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 US/Eastern'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 US/Eastern'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 US/Eastern'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 US/Eastern'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 US/Eastern'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT-4'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT-4'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT-4'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT-4'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT-4'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT-4'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT-4'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT-4'), DateTime('2008/11/30'))]


FAIL: test_01_getYearToDateSlice (testPayroll_l10n_fr.TestPayroll_l10n_fr), Check that is possible to calculate the total amount spend on a slice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 118, in test_01_getYearToDateSlice
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateModelWithSlices
      SetCurrencyOnModel
      ModelCreateUrssafModelLineWithSlices
      UrssafModelLineWithSlicesCreateMovements
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
    > CheckYearToDateSliceAmount
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 89, in stepCheckYearToDateSliceAmount
    paysheet_list[1].PaySheetTransaction_getYearToDateSlice(\
AssertionError: 400 != 0.0


FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Form/tests/testProxyField.py", line 189, in testSkinSelectionTemplateField
    self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'


FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
    self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}


FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
    self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1


FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
    self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2


FAIL: test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale), Check that after changing invoice line invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2104, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
    sequence_list.play(self, quiet=True)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      GetInvoiceLineDiscounted
      GetInvoiceLineDiscountedTaxed
      GetInvoiceLineTaxed
      ModifyQuantityInvoiceLineDiscounted
      ModifyQuantityInvoiceLineDiscountedTaxed
      ModifyQuantityInvoiceLineTaxed
      Tic
      CheckInvoiceCausalityStateDiverged
      AcceptDecisionQuantityInvoice
      Tic
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 459, in stepCheckInvoiceCausalityStateSolved
    invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x67f6bd8
  'decision_value': 1.9999999999999998
  'divergence_scope': 'quantity'
  'prevision_value': 5.0
  'mapping': {}
  'object_relative_url': 'accounting_module/5/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/3/1/1/2/1>
  'tested_property': 'quantity'
  'decision_title': '1.9999999999999998'
  'message': 'Quantity'>, <DivergenceMessage object at 0x821ec20
  'decision_value': -0.60000000000000009
  'divergence_scope': 'quantity'
  'prevision_value': -1.5
  'mapping': {}
  'object_relative_url': 'accounting_module/5/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/2>
  'tested_property': 'quantity'
  'decision_title': '-0.60000000000000009'
  'message': 'Quantity'>, <DivergenceMessage object at 0x6c0a5f0
  'decision_value': 28.5
  'divergence_scope': 'quantity'
  'prevision_value': 71.25
  'mapping': {}
  'object_relative_url': 'accounting_module/5/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/1/1/1/2/2>
  'tested_property': 'quantity'
  'decision_title': '28.5'
  'message': 'Quantity'>, <DivergenceMessage object at 0x60007a0
  'decision_value': 12.0
  'divergence_scope': 'quantity'
  'prevision_value': 30.0
  'mapping': {}
  'object_relative_url': 'accounting_module/5/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/1>
  'tested_property': 'quantity'
  'decision_title': '12.0'
  'message': 'Quantity'>, <DivergenceMessage object at 0x6af13f8
  'decision_value': 30.0
  'divergence_scope': 'quantity'
  'prevision_value': 75.0

(truncated) ...


More information about the Erp5-report mailing list