[Erp5-report] ERP5-MASTER-WITH-MULTIPLE-PARTITION rNone : 4290 Tests, 60 Errors, 10 Failures, 237 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Dec 7 20:48:29 CET 2011


Test Suite: ERP5-MASTER-WITH-MULTIPLE-PARTITION
Revision: slapos=2028-f2ce342da2324f9f1ff2c1e88bff8a435b142ca7,erp5=40081-90b9a2745ffa96063ff28c50fbd2ef9dba5ff399
Result: FAIL

All tests: 4290
Failures: 10
Errors: 60
Skips: 237

 http://erp5.nexedi.com/test_result_module/20111206-1CD9D4CB/view


The following tests failed:

  testArchive                                        (1 errors)
   test_Archive (testArchive.TestArchive)

  testContentTranslation                             (1 failures)
   testCatalogSearch (testContentTranslation.TestContentTranslation)

  testERP5BankingAccountingCancellation              (1 errors)
   test_01_ERP5BankingAccountingCancellation (testERP5BankingAccountingCancellation.TestERP5BankingAccountingCancellation)

  testERP5BankingAccountingDate                      (1 errors)
   test_AccountingDate (testERP5BankingAccountingDate.TestERP5BankingAccountingDate)

  testERP5BankingAvailableInventory                  (1 errors)
   test_01_ERP5BankingAvailabeInventory (testERP5BankingAvailableInventory.TestERP5BankingAvailableInventory)

  testERP5BankingBankAccountInventory                (1 errors)
   test_01_ERP5BankingBankAccountInventory (testERP5BankingBankAccountInventory.TestERP5BankingInventory)

  testERP5BankingCashBalanceRegulation               (1 errors)
   test_01_ERP5BankingCashBalanceRegulation (testERP5BankingCashBalanceRegulation.TestERP5BankingCashBalanceRegulation)

  testERP5BankingCashClassification                  (1 errors)
   test_01_ERP5BankingCashClassification (testERP5BankingCashClassification.TestERP5BankingCashClassification)

  testERP5BankingCashExchange                        (1 errors)
   test_01_ERP5BankingCashExchange (testERP5BankingCashExchange.TestERP5BankingCashExchange)

  testERP5BankingCashInventory                       (1 errors)
   test_01_ERP5BankingCashInventory (testERP5BankingCashInventory.TestERP5BankingInventory)

  testERP5BankingCashMovement                        (1 errors)
   test_01_ERP5BankingCashMovement (testERP5BankingCashMovement.TestERP5BankingCashMovement)

  testERP5BankingCashMovementNewNotEmitted           (1 errors)
   test_01_ERP5BankingCashMovementNewNotEmitted (testERP5BankingCashMovementNewNotEmitted.TestERP5BankingCashMovementNewNotEmitted)

  testERP5BankingCashSorting                         (1 errors)
   test_01_ERP5BankingCashSorting (testERP5BankingCashSorting.TestERP5BankingCashSorting)

  testERP5BankingCashToCurrencyPurchase              (1 errors)
   test_01_ERP5BankingCashToCurrencyPurchase (testERP5BankingCashToCurrencyPurchase.TestERP5BankingCashToCurrencyPurchase)

  testERP5BankingCashToCurrencySale                  (1 errors)
   test_01_ERP5BankingCashToCurrencySale (testERP5BankingCashToCurrencySale.TestERP5BankingCashToCurrencySale)

  testERP5BankingCheckDeposit                        (1 errors)
   test_01_ERP5BankingCheckDeposit (testERP5BankingCheckDeposit.TestERP5BankingCheckDeposit)

  testERP5BankingCheckPayment                        (1 errors)
   test_01_ERP5BankingCheckPayment (testERP5BankingCheckPayment.TestERP5BankingCheckPayment)

  testERP5BankingCheckbookDelivery                   (1 errors)
   test_01_ERP5BankingCheckbookDelivery (testERP5BankingCheckbookDelivery.TestERP5BankingCheckbookDelivery)

  testERP5BankingCheckbookReception                  (1 errors)
   test_01_ERP5BankingCheckbookReception (testERP5BankingCheckbookReception.TestERP5BankingCheckbookReception)

  testERP5BankingCheckbookUsualCashTransfer          (1 errors)
   test_01_ERP5BankingCheckbookUsualCashTransfer (testERP5BankingCheckbookUsualCashTransfer.TestERP5BankingCheckbookUsualCashTransfer)

  testERP5BankingCheckbookVaultTransfer              (1 errors)
   test_01_ERP5BankingCheckbookVaultTransfer (testERP5BankingCheckbookVaultTransfer.TestERP5BankingCheckbookVaultTransfer)

  testERP5BankingClassificationSurvey                (1 errors)
   test_01_ERP5BankingClassificationSurvey (testERP5BankingClassificationSurvey.TestERP5BankingClassificationSurvey)

  testERP5BankingCounterDate                         (4 errors)
   test_01_CheckOpenCounterDateTwiceFail (testERP5BankingCounterDate.TestERP5BankingCounterDate)

  testERP5BankingCounterRendering                    (1 errors)
   test_01_ERP5BankingCounterRendering (testERP5BankingCounterRendering.TestERP5BankingCounterRendering)

  testERP5BankingDestructionSurvey                   (1 errors)
   test_01_ERP5BankingDestructionSurvey (testERP5BankingDestructionSurvey.TestERP5BankingDestructionSurvey)

  testERP5BankingForeignCashReception                (1 errors)
   test_01_ERP5BankingForeignCashReception (testERP5BankingForeignCashReception.TestERP5BankingForeignCashReception)

  testERP5BankingInternalMoneyDeposit                (1 errors)
   test_01_ERP5BankingInternalMoneyDeposit (testERP5BankingInternalMoneyDeposit.TestERP5BankingInternalMoneyDeposit)

  testERP5BankingInternalMoneyPayment                (1 errors)
   test_01_ERP5BankingInternalMoneyPayment (testERP5BankingInternalMoneyPayment.TestERP5BankingInternalMoneyPayment)

  testERP5BankingMonetaryDestruction                 (1 errors)
   test_01_ERP5BankingMonetaryDestruction (testERP5BankingMonetaryDestruction.TestERP5BankingMonetaryDestruction)

  testERP5BankingMonetaryIssue                       (1 errors)
   test_01_ERP5BankingMonetaryIssue (testERP5BankingMonetaryIssue.TestERP5BankingMonetaryIssue)

  testERP5BankingMonetaryRecall                      (1 errors)
   test_01_ERP5BankingMonetaryRecall (testERP5BankingMonetaryRecall.TestERP5BankingMonetaryRecall)

  testERP5BankingMonetaryReception                   (1 errors)
   test_01_ERP5BankingMonetaryReception (testERP5BankingMonetaryReception.TestERP5BankingMonetaryReception)

  testERP5BankingMonetarySurvey                      (1 errors)
   test_01_ERP5BankingMonetarySurvey (testERP5BankingMonetarySurvey.TestERP5BankingMonetarySurvey)

  testERP5BankingMoneyDeposit                        (1 errors)
   test_01_ERP5BankingMoneyDeposit (testERP5BankingMoneyDeposit.TestERP5BankingMoneyDeposit)

  testERP5BankingMoneyDepositRendering               (1 errors)
   test_01_ERP5BankingMoneyDepositRendering (testERP5BankingMoneyDepositRendering.TestERP5BankingMoneyDepositRendering)

  testERP5BankingMutilatedBanknote                   (1 errors)
   test_01_ERP5BankingMutilatedBanknote (testERP5BankingMutilatedBanknote.TestERP5BankingMutilatedBanknote)

  testERP5BankingStopPayment                         (1 errors)
   test_01_ERP5BankingStopPayment (testERP5BankingStopPayment.TestERP5BankingStopPayment)

  testERP5BankingTravelerCheckPurchase               (1 errors)
   test_01_ERP5BankingTravelerCheckPurchase (testERP5BankingTravelerCheckPurchase.TestERP5BankingTravelerCheckPurchase)

  testERP5BankingTravelerCheckSale                   (1 errors)
   test_01_ERP5BankingTravelerCheckSale (testERP5BankingTravelerCheckSale.TestERP5BankingTravelerCheckSale)

  testERP5BankingUsualCashRendering                  (1 errors)
   test_01_ERP5BankingUsualCashRendering (testERP5BankingUsualCashRendering.TestERP5BankingUsualCashRendering)

  testERP5BankingUsualCashTransfer                   (1 errors)
   test_01_ERP5BankingUsualCashTransfer (testERP5BankingUsualCashTransfer.TestERP5BankingUsualCashTransfer)

  testERP5BankingVaultTransfer                       (1 errors)
   test_01_ERP5BankingVaultTransfer (testERP5BankingVaultTransfer.TestERP5BankingVaultTransfer)

  testERP5Catalog                                    (1 failures, 4 skips)
   test_48_ERP5Site_hotReindexAll (testERP5Catalog.TestERP5Catalog)

  testERP5DocumentSyncML                             (1 errors)
   test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5LdapCatalog                                (2 errors)
   test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog), Test has everything

  testERP5Simulation                                 (1 failures)
   test_02_splitAndDeferAfterAcceptDecision (testERP5Simulation.TestERP5Simulation)

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

  testFormPrintoutAsODG                              (1 failures)
   test_01_TextField (testFormPrintoutAsODG.TestFormPrintoutAsODG)

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

  testLegacyImmobilisation                           (1 errors)
   test_19_TestAccountingBuildingAndDivergence (Products.ERP5.tests.testImmobilisation.TestImmobilisation)

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

  testResource                                       (1 failures)
   test_11b_getPriceWithCells (testResource.TestResource)

  testSpellChecking                                  (1 failures)
   test_checkSpellChecker (testSpellChecking.TestSpellChecking)

  testSupply                                         (7 errors)
   testSupplyCellPropertyAndAccessor (testSupply.TestSaleSupply)

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

The following tests were at least partly skipped:

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (4 skips)

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

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

  testBusinessTemplate                               (2 skips)

  testCRM                                            (2 skips)

  testConversionInSimulation                         (4 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (2 skips)

  testDmsWithPreConversion                           (2 skips)

  testERP5Base                                       (1 skips)

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

  testERP5Interfaces                                 (9 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (2 skips)

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

  testICal                                           (1 skips)

  testImmobilisation                                 (2 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (7 skips)

  testItem                                           (13 skips)

  testKM                                             (3 skips)

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

  testLegacyProjectAndTask                           (1 skips)

  testLegacySimulationInventoryAPI                   (2 skips)

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

  testMaxmaDemoConfigurationWorkflow                 (1 skips)

  testOpenOrder                                      (3 skips)

  testOrderBuilder                                   (4 skips)

  testOxatisSynchronization                          (1 skips)

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

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

  testPreferences                                    (1 skips)

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

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

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testProxyField                                     (1 skips)

  testReturnedSalePackingList                        (3 skips)

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

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

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

  testShaCache                                       (1 skips)

  testShaCacheExternal                               (1 skips)

  testShaDir                                         (1 skips)

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testUbercartSynchronisation                        (1 skips)

  testVirtuemartSynchronization                      (1 skips)

  testWebDavSupport                                  (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 9754 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20111207/40b3e9f2/attachment-0001.diff>
-------------- next part --------------

ERROR: test_Archive (testArchive.TestArchive)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5Catalog/tests/testArchive.py", line 242, in test_Archive
    self.stepTic()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/inventory_api_test/portal_simulation', 'Archive_createInventory', -2, 1), ('/inventory_api_test/portal_catalog', 'finishHotReindexing', -1, 0), ('/inventory_api_test/portal_archives', 'InventoryModule_reindexMovementList', -1, 0)]
Last error message:
AttributeError
setDefaultReindexParameterDict
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1301, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 35, in Archive_createInventory
   - <PythonScript at /inventory_api_test/Archive_createInventory used for /inventory_api_test/portal_simulation>
   - Line 35
  Module Products.ERP5Type.Core.Folder, line 538, in newContent
  Module Products.ERP5Type.Core.Folder, line 161, in newContent
  Module Products.ERP5Type.ERP5Type, line 386, in constructInstance
AttributeError: setDefaultReindexParameterDict



FAIL: testCatalogSearch (testContentTranslation.TestContentTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5/tests/testContentTranslation.py", line 95, in testCatalogSearch
    self.assertEquals(len(result2), 1)
AssertionError: 0 != 1


ERROR: test_01_ERP5BankingAccountingCancellation (testERP5BankingAccountingCancellation.TestERP5BankingAccountingCancellation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_AccountingDate (testERP5BankingAccountingDate.TestERP5BankingAccountingDate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingAvailabeInventory (testERP5BankingAvailableInventory.TestERP5BankingAvailableInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingBankAccountInventory (testERP5BankingBankAccountInventory.TestERP5BankingInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCashBalanceRegulation (testERP5BankingCashBalanceRegulation.TestERP5BankingCashBalanceRegulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCashClassification (testERP5BankingCashClassification.TestERP5BankingCashClassification)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCashExchange (testERP5BankingCashExchange.TestERP5BankingCashExchange)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCashInventory (testERP5BankingCashInventory.TestERP5BankingInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCashMovement (testERP5BankingCashMovement.TestERP5BankingCashMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCashMovementNewNotEmitted (testERP5BankingCashMovementNewNotEmitted.TestERP5BankingCashMovementNewNotEmitted)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCashSorting (testERP5BankingCashSorting.TestERP5BankingCashSorting)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCashToCurrencyPurchase (testERP5BankingCashToCurrencyPurchase.TestERP5BankingCashToCurrencyPurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCashToCurrencySale (testERP5BankingCashToCurrencySale.TestERP5BankingCashToCurrencySale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCheckDeposit (testERP5BankingCheckDeposit.TestERP5BankingCheckDeposit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCheckPayment (testERP5BankingCheckPayment.TestERP5BankingCheckPayment)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCheckbookDelivery (testERP5BankingCheckbookDelivery.TestERP5BankingCheckbookDelivery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCheckbookReception (testERP5BankingCheckbookReception.TestERP5BankingCheckbookReception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCheckbookUsualCashTransfer (testERP5BankingCheckbookUsualCashTransfer.TestERP5BankingCheckbookUsualCashTransfer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCheckbookVaultTransfer (testERP5BankingCheckbookVaultTransfer.TestERP5BankingCheckbookVaultTransfer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingClassificationSurvey (testERP5BankingClassificationSurvey.TestERP5BankingClassificationSurvey)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_CheckOpenCounterDateTwiceFail (testERP5BankingCounterDate.TestERP5BankingCounterDate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingCounterRendering (testERP5BankingCounterRendering.TestERP5BankingCounterRendering)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingDestructionSurvey (testERP5BankingDestructionSurvey.TestERP5BankingDestructionSurvey)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingForeignCashReception (testERP5BankingForeignCashReception.TestERP5BankingForeignCashReception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingInternalMoneyDeposit (testERP5BankingInternalMoneyDeposit.TestERP5BankingInternalMoneyDeposit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingInternalMoneyPayment (testERP5BankingInternalMoneyPayment.TestERP5BankingInternalMoneyPayment)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingMonetaryDestruction (testERP5BankingMonetaryDestruction.TestERP5BankingMonetaryDestruction)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingMonetaryIssue (testERP5BankingMonetaryIssue.TestERP5BankingMonetaryIssue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingMonetaryRecall (testERP5BankingMonetaryRecall.TestERP5BankingMonetaryRecall)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingMonetaryReception (testERP5BankingMonetaryReception.TestERP5BankingMonetaryReception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingMonetarySurvey (testERP5BankingMonetarySurvey.TestERP5BankingMonetarySurvey)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingMoneyDeposit (testERP5BankingMoneyDeposit.TestERP5BankingMoneyDeposit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingMoneyDepositRendering (testERP5BankingMoneyDepositRendering.TestERP5BankingMoneyDepositRendering)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingMutilatedBanknote (testERP5BankingMutilatedBanknote.TestERP5BankingMutilatedBanknote)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingStopPayment (testERP5BankingStopPayment.TestERP5BankingStopPayment)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingTravelerCheckPurchase (testERP5BankingTravelerCheckPurchase.TestERP5BankingTravelerCheckPurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingTravelerCheckSale (testERP5BankingTravelerCheckSale.TestERP5BankingTravelerCheckSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingUsualCashRendering (testERP5BankingUsualCashRendering.TestERP5BankingUsualCashRendering)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingUsualCashTransfer (testERP5BankingUsualCashTransfer.TestERP5BankingUsualCashTransfer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


ERROR: test_01_ERP5BankingVaultTransfer (testERP5BankingVaultTransfer.TestERP5BankingVaultTransfer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 916, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 483, in download
    bt = self._download_local(name, id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 411, in _download_local
    bt.importFile(dir=True, file=file_list, root_path=path)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5196, in importFile
    getattr(self, item_name).importFile(bta)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 537, in importFile
    bta.importFiles(item=self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 382, in importFiles
    item._importFile(file_name, file)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 800, in _importFile
    obj = connection.importFile(file_obj, customImporters=customImporters)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
    return customImporters[magic](self, f, clue)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 763, in importXML
    r=p.Parse(data)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 698, in unknown_endtag
    top = end[tag](self, tag, top)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 634, in save_string
    v=unconvert(encoding,v)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/patches/ppml.py", line 79, in unconvert
    original = eval("'"+x+"'")
  File "<string>", line 1
    'from Products.DCWorkflow.DCWorkflow import ValidationFailed\nfrom Products.ERP5Type.Message import Message\ncounter_date = state_change[\'object\']\n\n# First make sure that the site is defined\nsite_value = counter_date.getSiteValue()\nif site_value is None:\n  msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n  raise ValidationFailed (msg,)\n\n# Then, make sure there is not any counter date open for this site\nsite_value.serialize()\nsite_uid = site_value.getUid()\nactivity_tag = \'%s_CounterDay\' % (site_uid, )\nif context.getPortalObject().portal_activities.countMessageWithTag(activity_tag) != 0:\n  msg = Message(domain=\'ui\',message="Sorry, there is a pending counter date opening, please retry later")\n  raise ValidationFailed (msg,)\ncounter_date.setDefaultActivateParameterDict({'tag': activity_tag})\ncounter_date_list = [x.getObject() for x in counter_date.portal_catalog(portal_type=\'Counter Date\',site_uid=site_uid,simulation_state=\'open\')]\nfor other_counter in counter_date_list:\n  if other_counter.getUid()!=counter_date.getUid():\n    counter_date.log("opened counter date is", other_counter.getPath())\n    msg = Message(domain=\'ui\',message="Sorry, there is already a counter date opened")\n    raise ValidationFailed (msg,)\n    \nlistbox = state_change.kwargs.get(\'listbox\',None)\n\n# First make sure we can open a counter date only\n# if the date defined on the document is the current date\nstart_date = counter_date.getStartDate()\nfrom DateTime import DateTime\nnow = DateTime()\n\n# Check it is a working day\nif len(getattr(context.getPortalObject(), \'not_working_days\', "")) == 0:\n  pass\nelse:\n  not_working_day_list = getattr(context.getPortalObject(), \'not_working_days\').split(" ")\n  if start_date.Day().lower() in not_working_day_list:\n    msg = Message(domain=\'ui\',message="Sorry, you cannot open the date on not working days")\n    raise ValidationFailed (msg,)\n\n\n# Check it is today\ncheck_date_is_today = state_change.kwargs.get(\'check_date_is_today\', 1)\nif check_date_is_today and now.Date() != start_date.Date():\n  msg = Message(domain=\'ui\',message="Sorry, the date is not today")\n  raise ValidationFailed (msg,)\n\n\n\n\nif listbox is not None:\n  for line in listbox:\n    if line["choice"] == "open":\n      counter = context.restrictedTraverse("%s" %(line[\'listbox_key\'],))\n      counter.open()\n\n\n# Set a reference\nfirst_day_of_year = DateTime(start_date.year(), 1, 1)\ncounter_date_list = [x.getObject() for x  in context.portal_catalog(\n                                           portal_type=\'Counter Date\',site_uid=site_uid,\n                                           start_date={\'query\': first_day_of_year, \'range\': \'min\'},\n                                           sort_on=[(\'start_date\',\'descending\')],limit=1,\n                                           simulation_state=(\'open\',\'closed\'))]\nprevious_reference = None\nif len(counter_date_list)>0:\n  previous_counter_date = counter_date_list[0]\n  previous_reference = previous_counter_date.getReference()\nif previous_reference not in (\'\',None):\n  reference = \'%i\' % (int(previous_reference)+1)\nelse:\n  reference = \'1\'\ncounter_date.setReference(reference)\n'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: invalid syntax


FAIL: test_48_ERP5Site_hotReindexAll (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5Catalog/tests/testERP5Catalog.py", line 1563, in test_48_ERP5Site_hotReindexAll
    self.checkRelativeUrlNotInSQLPathList(path_list, connection_id=self.original_connection_id)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5Catalog/tests/testERP5Catalog.py", line 166, in checkRelativeUrlNotInSQLPathList
    self.failUnless(path not in  path_list)
AssertionError


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


ERROR: test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog), Test has everything
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1024, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 932, in _installBusinessTemplateList
    update_translation=1)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/Base.py", line 240, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 4790, in _install
    catalog.manage_catalogClear()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 1288, in manage_catalogClear
    self.clear()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ZSQLCatalog/SQLCatalog.py", line 884, in clear
    method()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ZLDAPMethods/LM.py", line 457, in __call__
    c = self._connection().GetConnection()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ZLDAPConnection/ZLDAP.py", line 362, in _connection
    if not self.isOpen(): self._open()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ZLDAPConnection/ZLDAP.py", line 404, in _open
    self._v_conn.simple_bind_s(self.bind_as, self.pw)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/develop-eggs/python_ldap-2.4.6-py2.6-linux-x86_64.egg/ldap/ldapobject.py", line 207, in simple_bind_s
    msgid = self.simple_bind(who,cred,serverctrls,clientctrls)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/develop-eggs/python_ldap-2.4.6-py2.6-linux-x86_64.egg/ldap/ldapobject.py", line 201, in simple_bind
    return self._ldap_call(self._l.simple_bind,who,cred,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/develop-eggs/python_ldap-2.4.6-py2.6-linux-x86_64.egg/ldap/ldapobject.py", line 99, in _ldap_call
    result = func(*args,**kwargs)
SERVER_DOWN: {'desc': "Can't contact LDAP server"}


FAIL: test_02_splitAndDeferAfterAcceptDecision (testERP5Simulation.TestERP5Simulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5/tests/testERP5Simulation.py", line 282, in test_02_splitAndDeferAfterAcceptDecision
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      IncreasePackingListLineQuantity1000
      ChangePackingListDestination
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      AcceptDecisionDestination
      AcceptDecisionQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      DecreasePackingListLineQuantity10
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      CheckSolverIsSolving
      Tic
    > CheckPackingListSplittedForTest02
      CheckPackingListIsSolved
      CheckSolverIsSolved
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5/tests/testERP5Simulation.py", line 233, in stepCheckPackingListSplittedForTest02
    self.assertEquals(packing_list2.getDestinationValue(), destination_value)
AssertionError: <Organisation at /erp5_portal_dc2688613f27509924625a9a445111a0/organisation_module/5> != <Organisation at /erp5_portal_dc2688613f27509924625a9a445111a0/organisation_module/6>


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


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


FAIL: test_01_TextField (testFormPrintoutAsODG.TestFormPrintoutAsODG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5OOo/tests/testFormPrintoutAsODG.py", line 230, in test_01_TextField
    self._validate(odf_document)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5OOo/tests/TestFormPrintoutMixin.py", line 62, in _validate
    self.fail(''.join(error_list))
AssertionError: content.xml:2:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element graphics there


ERROR: test_02_AdoptingPrevision (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 265, in test_02_AdoptingPrevision
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      GetRelatedInvoiceFromPackingList
      UpdatePackingList
    > Tic
      AcceptDecisionPackingListQuantity
      Tic
      CheckInvoiceIsDivergent
      CheckInvoiceIsDiverged
      AdoptPrevisionInvoiceQuantity
      Tic
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_b13beaf106ae629bcfc82c31d58cd714/sale_packing_list_module/2', 'Delivery_updateAppliedRule', -2, 1)]
Last error message:
ProgrammingError
(1146, "Table 'testdb_0.roles_and_users' doesn't exist")
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1301, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 47, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_b13beaf106ae629bcfc82c31d58cd714/Delivery_updateAppliedRule used for /erp5_portal_b13beaf106ae629bcfc82c31d58cd714/sale_packing_list_module/2>
   - Line 47
  Module AccessControl.ZopeGuards, line 358, in guarded_apply
  Module AccessControl.ZopeGuards, line 380, in builtin_guarded_apply
  Module Products.ERP5.Document.PackingList, line 125, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 715, in updateAppliedRule
  Module Products.ERP5Type.Core.Folder, line 294, in searchFolder
  Module Products.ERP5Catalog.CatalogTool, line 576, in searchResults
  Module Products.ERP5Catalog.CatalogTool, line 525, in getSecurityQuery
  Module Products.ERP5Catalog.CatalogTool, line 509, in getSecurityUidListAndRoleColumnDict
  Module Products.ERP5Type.patches.DA, line 223, in DA__call__
   - <SQL at /erp5_portal_b13beaf106ae629bcfc82c31d58cd714/portal_catalog/erp5_mysql_innodb/z_search_security>
  Module Products.ZMySQLDA.db, line 295, in query
  Module Products.ZMySQLDA.db, line 286, in _access_db
  Module Products.ZMySQLDA.db, line 454, in query
  Module Products.ZMySQLDA.db, line 437, in _query
ProgrammingError: (1146, "Table 'testdb_0.roles_and_users' doesn't exist")



ERROR: test_03_AcceptingDecision (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 303, in test_03_AcceptingDecision
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
    > Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      GetRelatedInvoiceFromPackingList
      UpdateInvoice
      Tic
      CheckInvoiceIsDivergent
      AcceptDecisionInvoiceQuantity
      Tic
      CheckInvoiceIsNotDivergent
      CheckPackingListIsDivergent
      AdoptPrevisionPackingListQuantity
      Tic
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_b13beaf106ae629bcfc82c31d58cd714/sale_order_module/3', 'Delivery_updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1301, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 47, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_b13beaf106ae629bcfc82c31d58cd714/Delivery_updateAppliedRule used for /erp5_portal_b13beaf106ae629bcfc82c31d58cd714/sale_order_module/3>
   - Line 47
  Module AccessControl.ZopeGuards, line 358, in guarded_apply
  Module AccessControl.ZopeGuards, line 380, in builtin_guarded_apply
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 720, in updateAppliedRule
ValueError: No such rule as 'default_order_rule' is found



ERROR: test_04_MergingMultipleSaleOrders (Products.ERP5.tests.testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 361, in test_04_MergingMultipleSaleOrders
    sequence_list.play(self, quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
    > Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      GetRelatedInvoiceFromPackingList
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      Tic
      CreateOrderLine
      SetOrderLineResource
      UpdateOrder
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetFillContainerLine
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceIsDivergent
      AdoptPrevisionInvoiceQuantity
      Tic
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_b13beaf106ae629bcfc82c31d58cd714/sale_order_module/4', 'Delivery_updateAppliedRule', -2, 1)]
Last error message:
ValueError
No such rule as 'default_order_rule' is found
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1301, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 47, in Delivery_updateAppliedRule
   - <PythonScript at /erp5_portal_b13beaf106ae629bcfc82c31d58cd714/Delivery_updateAppliedRule used for /erp5_portal_b13beaf106ae629bcfc82c31d58cd714/sale_order_module/4>
   - Line 47
  Module AccessControl.ZopeGuards, line 358, in guarded_apply
  Module AccessControl.ZopeGuards, line 380, in builtin_guarded_apply
  Module Products.ERP5.Document.Order, line 179, in updateAppliedRule
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 720, in updateAppliedRule
ValueError: No such rule as 'default_order_rule' is found



ERROR: test_19_TestAccountingBuildingAndDivergence (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/tests/testImmobilisation.py", line 3688, in test_19_TestAccountingBuildingAndDivergence
    sequence_list.play(self)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      SetTest19SequenceData
      DeleteAccounting
      Tic
      DeleteAllPackingLists
      Tic
      TestAllAppliedRulesAreEmpty
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      BuildAccounting
      Tic
      TestSimpleAccountingBuild
      SetTest19SequenceData2
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      TestSimulationBuildAfterFirstAccountingChange
      BuildAccounting
      Tic
      TestAccountingBuildAfterFirstChange
      DeletePackingList
      Tic
      TestSimulationBuildAfterSecondAccountingChange
      BuildAccounting
      Tic
      TestAccountingBuildAfterSecondChange
      AdoptPrevision
      Tic
      TestAccountingBuildAfterAdoptPrevision
      Test19ModifyPackingList
    > Tic
      TestSimulationBuildAfterPackingListModification
      BuildAccounting
      Tic
      TestAccountingBuildAfterPackingListModification
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 573, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/17', 'updateCausalityState', -1, 0), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/18', 'updateCausalityState', -1, 0), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/19', 'updateCausalityState', -1, 0), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/17', 'updateCausalityState', -1, 0), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/21', 'updateCausalityState', -1, 0), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/15', 'updateCausalityState', -1, 0), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/22', 'updateCausalityState', -1, 0), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/18', 'updateCausalityState', -1, 0), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/20', 'updateCausalityState', -1, 0), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/16', 'AmortisationTransaction_afterBuild', -2, 1), ('/erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/16', 'AmortisationTransaction_afterBuild', -2, 1)]
Last error message:
UnsupportedWorkflowMethod
Transition delivery_causality_workflow/start_building unsupported for <Amortisation Transaction at /erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/16>. Current state is 'solving'.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 293, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1301, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 31, in AmortisationTransaction_afterBuild
   - <PythonScript at /erp5_portal_e2d1848d657e4110d347cd7289109cde/AmortisationTransaction_afterBuild used for /erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/16>
   - Line 31
  Module Products.ERP5Type.Base, line 223, in __call__
UnsupportedWorkflowMethod: Transition delivery_causality_workflow/start_building unsupported for <Amortisation Transaction at /erp5_portal_e2d1848d657e4110d347cd7289109cde/accounting_module/16>. Current state is 'solving'.



FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 1188, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 1188, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_11b_getPriceWithCells (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5/tests/testResource.py", line 880, in test_11b_getPriceWithCells
    product.getPrice(categories=[variation]))
AssertionError: 34 != 0.0


FAIL: test_checkSpellChecker (testSpellChecking.TestSpellChecking)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5/tests/testSpellChecking.py", line 143, in test_checkSpellChecker
    self.assertNotEquals(self.validate_spell('canceled'), {})
AssertionError: {} == {}


ERROR: testSupplyCellPropertyAndAccessor (testSupply.TestSaleSupply)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 125, in run
    self.setUp()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1051, in setUpERP5Site
    self.tic(not quiet)
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_templates/1', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_templates/2', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_rules', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_simulation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_orders', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_templates/3', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_templates/4', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_templates/5', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_trash/erp5_base_2011-12-07', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/organisation_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/currency_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/notification_message_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/person_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/query_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_templates/6', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/internal_supply_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/component_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/sale_supply_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/purchase_supply_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/quantity_unit_conversion_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/product_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/service_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/transformation_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_templates/7', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_templates/8', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/purchase_trade_condition_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/returned_sale_packing_list_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/internal_order_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/returned_purchase_packing_list_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/purchase_packing_list_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/business_process_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/sale_order_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/sale_packing_list_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/internal_packing_list_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/purchase_order_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/inventory_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/sale_trade_condition_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/internal_trade_condition_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AccountingTransactionBalanceConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Amortisation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BaseType', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BusinessTemplate', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CategoryCore', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CategoryRelatedMembershipArityConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ContributionPredicate', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DefaultRoleDefinition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Document', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Item', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Order', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Path', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/PaymentCondition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/PeriodicityTerm', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Pricing', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/PropertyAssignmentMovementGroup', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ResourceMeasuresConsistencyConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/SolverSelection', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/SolverType', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/StandardBT5ConfiguratorItem', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TALESConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TaskLineConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Telephone', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Ticket', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TradeConditionConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/WebSection', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/WebSite', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_contribution_registry', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Amount', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Applied Rule', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Attribute Equality Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Distributed Ram Cache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Documentation Helper', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Dynamic Category Property', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Property Existence Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Property Sheet', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/String Attribute Match Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Trash Folder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/System Preference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_decision', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_section', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_trade', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_function', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_section', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_trade', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_content_medium', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_content_medium/default_ram_cache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_content_short/default_ram_cache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_ui_long/default_ram_cache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_ui_medium', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_list', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_view', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/float', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/tokens', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_skins/erp5_core/TemplateTool_filterClassTupleDiff', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_skins/erp5_core/TemplateTool_filterOOBTreeClassDiff', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Causality Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Credit Card', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Currency Exchange Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Embedded Folder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Monthly Range Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Notification Message Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/OOo Document', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Parent Delivery Property Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Person Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Quantity Sign Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Query', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Title Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Variation Property Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/bank_account_type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/contributor', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/payment_mode', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/role', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/use', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_alarms/upgrader_migrate_to_embedded_file', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Component Individual Variation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Supply Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Quantity Unit Conversion Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Service Individual Variation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Supply Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Transformation Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Transformation Transformed Resource Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/image', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/pricing', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/shape', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/tariff_nomenclature', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Delivery Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Order', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Order Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Inventory Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Order', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Packing List Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Returned Purchase Packing List Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Order', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Trade Model Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/discount_type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/trade_state', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/internal_packing_list_builder/property_movement_group_on_delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/internal_packing_list_builder/variant_movement_group_on_cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/purchase_packing_list_builder/category_movement_group_on_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AccountingTransactionConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Archive', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AttributeEqualityConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BaobabCategory', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BudgetConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BusinessLink', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CalendarPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CaptchaPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CashContainer', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CashCurrency', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CatalogPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CategoryMembershipStateConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Chain', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ContentExistenceConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ExtraLocalRole', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/IndividualCalendarConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Inventory', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/MappedProperty', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Mapping', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Person', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Predicate', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Price', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ReportPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Resource', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/SaleOpportunity', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TradeModelLineConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TradeModelPath', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TradeOrderLine', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Url', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Variation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Workflow', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Base Domain', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Cache Factory', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Dummy Class Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Memcached Plugin', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Memcached Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Role Information', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Rule Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Selection Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Standard Property', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/TALES Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/activity', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_payment', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/origin', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/parent', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_payment', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_content_long/default_ram_cache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_ui_short', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_ui_short/default_ram_cache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_exchange', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/callable_type/script', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/multiple_selection', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_domains/base_month_domain', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_domains/parent_domain', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_skins/erp5_core/TemplateTool_filterPortalTypeClassDiff', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_web_services', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Currency', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Currency Exchange Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Delivery Builder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Delivery Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/File', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Image', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Invoice Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Mapped Property', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Query Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/conflicting_solver', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/delivery_builder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/delivery_solver', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_referral', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/insurance_coverage', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/predecessor', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/price_currency', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/region', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/solver', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/divergence_scope/category', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/divergence_scope/quantity', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Component', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Supply', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Product Individual Variation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Quantity Unit Conversion Definition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Supply Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/brand', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/First Causality Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Packing List Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Trade Condition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Trade Condition Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Order Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Order Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Returned Sale Packing List Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Order Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Trade Condition Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Trade Model Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Trade Model Path', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/base_contribution', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/trade_date/order', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/purchase_packing_list_builder/property_movement_group_on_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/purchase_packing_list_builder/variant_movement_group_on_cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder/category_movement_group_on_delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder/category_movement_group_on_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder/causality_assignment_movement_group_on_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Account', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AccountingPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ActionInformation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ActiveProcess', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Amount', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Assignment', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AttributeUnicityConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BankingOperation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CashDeliveryLine', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CategoryMembershipArityConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Coordinate', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DefaultAnnotationLine', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DefaultSupply', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DeliveryBuilder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Device', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ExpressPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/IndustrialDescription', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/IntegrationModule', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/InventoryLine', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Login', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Movement', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Organisation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Preference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ProductionOrderLine', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/PropertyTypeValidityConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/SimpleItem', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/SortIndex', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/StringAttributeMatchConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TaskConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TelephonePreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Alarm', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Alarm Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Attribute Unicity Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Base Category', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category Property', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Document', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Event', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Id Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Password Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Preference Type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Session Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Trash Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Types Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Preference Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/business_application', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_account', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_project', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/quantity_unit', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/size', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/specialise', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_session_cache/1', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_ui_long', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_button', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_jump', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_print', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/date', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_contribution_registry/default_predicate', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_domains/base_day_domain', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_ids/1', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_ids/3', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Link', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Order Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Organisation Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Property Assignment Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Rounding Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Tax Line Delivery Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Telephone', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Variant Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/economical_class', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/market_segment', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/property_mapping', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/skill', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/update_frequency', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/document_cache_factory/volatile_cache_plugin', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/collect_order_group/line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Measure', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Product Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Supply', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Supply Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Resource Measures Consistency Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Transformation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/morphology', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/operation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/visual_pattern', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Business Process Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Packing List Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Inventory Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Order', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Order Root Simulation Rule', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Order Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Packing List Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Trade Condition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Trade Condition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Trade Model Line Cell Consistency Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/internal_packing_list_builder/category_movement_group_on_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/internal_packing_list_builder/order_movement_group_on_delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/purchase_packing_list_builder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/purchase_packing_list_builder/base_variant_movement_group_in_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Agent', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Alarm', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AmountGeneratorLine', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Arrow', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Base', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BaseCategory', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BusinessConfiguration', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CalendarPeriodConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Configurable', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DocumentConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DocumentationHelper', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/EmailHeader', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ExternalDocument', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/GeographicAddress', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/InternetProtocolAddress', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ItemAggregation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Measure', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/OpenOrder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/PDFType', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Periodicity', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/PortalTest', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/PythonScript', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ResourceConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/SQLIdGenerator', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Task', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TradeModelLine', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TradeOrder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Transition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Variable', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Action Information', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Application Id Generator', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Cache Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category Membership Arity Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Conceptual Id Generator', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Content Existence Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Contribution Predicate', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Domain Generator', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Folder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Movement', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Preference Tool Type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Property Type Validity Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Simulation Movement', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Synchronization Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/ZODB Continuous Increasing Id Generator', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/causality', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_function', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/mapping', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/resource', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_account', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_contribution_registry/image_extension', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_domains/base_week_domain', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_domains/base_year_domain', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_ids/4', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_ids/5', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_ids/6', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_roundings', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Chat Address', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Mirror Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Nested Line Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Organisation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Parent Delivery Category Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Parent Explanation Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Role Definition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Root Applied Rule Causality Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Split Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/grade', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/natural_parent', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/order_builder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/salary_level', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/social_title', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_carrier', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/document_cache_factory', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_memcached/persistent_memcached_plugin', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Component Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Supply', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Supply Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Service', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Transformation Operation Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Transformation Transformed Resource', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/composition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/measure', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/segment', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Delivery Simulation Rule', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Duplicate Inventory Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Order Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Trade Condition Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Returned Sale Packing List', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Returned Sale Packing List Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Order Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Packing List', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Packing List Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/delivery_mode', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/trade_date', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/internal_packing_list_builder/causality_assignment_movement_group_on_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/internal_packing_list_builder/property_movement_group_on_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/purchase_packing_list_builder/order_movement_group_on_delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder/causality_assignment_movement_group_on_cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AccountingTransactionLineConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AttributeBlacklistedConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Delivery Causality Assignment Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BankAccount', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Budget', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BugConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BusinessProcess', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Codification', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Computer', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ConfiguratorItem', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Container', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CustomerRelationPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Data', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DefaultImage', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Domain', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DynamicCategoryProperty', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/EntityConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/EquivalenceTester', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/LocalizationPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/MappedValue', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/MovementGroup', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ProductDataPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ProductionOrder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/PropertyExistenceConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Reference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/RoleDefinition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/StandardProperty', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Transformation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TranslatableProperty', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/VariationRange', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Version', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_notifications', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Base Type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Business Template', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category Existence Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category Membership State Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Python Script', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Ram Cache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/SQL Non Continuous Increasing Id Generator', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Template Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Test Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/aggregate', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/callable_type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_administration', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_payment_region', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_content_long', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_content_short', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_dialog', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_fast_input', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_web_view', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/object', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_preferences/default_site_preference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_solvers', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Agent', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Agent Privilege', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Career', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Notification Message', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Order Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Requirement Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/agent_privilege', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_carrier', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/divergence_scope', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/legal_parent', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/site', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/social_form', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_referral', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_region', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/trade_phase', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Supply Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Supply Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Measure Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Service Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Supply Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Transformation Optional Resource', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/collection', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/feature', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/industrial_phase', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/metric_type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/option', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/variation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Business Link', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Business Process', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Container', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Container Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Packing List', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Inventory', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Payment Condition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Packing List', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Returned Purchase Packing List Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Returned Purchase Packing List Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Returned Sale Packing List Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Packing List Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/base_application', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/incoterm', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/trade_date/custom', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/trade_date/packing_list', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/purchase_packing_list_builder/category_movement_group_on_delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/purchase_packing_list_builder/causality_assignment_movement_group_on_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AccountingRuleCellLine', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AcquiredProperty', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AgentPrivilege', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/AppliedRule', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BaseCache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BudgetTransactionConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CacheFactory', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CalendarException', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CategoryExistenceConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DistributedRamCache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DocumentProxy', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DublinCore', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Folder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Gadget', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/HtmlStylePreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/MailMessage', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/MemcachedPlugin', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/OutcomeDescription', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/QuantityUnitConversionDefinition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/RoundingModel', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Rule', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/ServiceConfiguratorItem', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Simulation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/SitePropertyConfiguratorItem', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/State', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/SupplyLine', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/SupplyLink', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TextDocument', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TradeModelLineCellConsistencyConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TradePreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TransformedResource', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/WebSitePreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_sessions', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Acknowledgement Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Activity Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Attribute Blacklisted Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category Related Membership State Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Domain', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Domain Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Predicate', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Property Sheet Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Preference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_administration', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_payment_region', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/order', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_decision', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_alarms/expired_password_alarm', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_session_cache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_action', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_icon', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_report', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/action_type/object_search', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/callable_type/script/diff_filter', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/boolean', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/int', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/long', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/tales', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/text', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_ids/2', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_memcached/default_memcached_plugin', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_skins/erp5_core/TemplateTool_filterTemplateUnicodeDiff', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Address', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Assignment', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Base Variant Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Currency Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Email', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Embedded File', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Fax', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Person', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Property Grouping Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Rounding Model', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Solver Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/currency_exchange_type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/destination_region', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/end_of', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/function', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/gender', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/resource_use', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/subordination', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/collect_order_group/delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/divergence_scope/property', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Product', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Supply Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Quantity Unit Conversion Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Transformation Operation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/colour', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Dummy Delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Dummy Movement', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/InventoryConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Order Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Packing List Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Returned Purchase Packing List', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/base_amount', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/segmentation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/trade_condition_type', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/trade_date/invoice', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/internal_packing_list_builder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Aggregated', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/BudgetVariation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Bug', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/CalendarConstraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Comment', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DecimalOption', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DeliverySolver', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Discount', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/DocumentPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/Event', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/FlowCapacity', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/InventoryMovement', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/PaySheetModel', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/RoleInformation', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/StockCapacity', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TargetSolver', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/TradeCondition', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/VcsPreference', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_property_sheets/XMLObject', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Acquired Property', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Active Process', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category Acquired Membership State Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Category Related Membership Arity Constraint', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Class Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Contribution Registry Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Mapped Value', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Notification Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Simulation Tool', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Trash Bin', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/product_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/source_project', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_caches/erp5_ui_medium/default_ram_cache', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/content', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/data', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/lines', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/selection', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/elementary_type/string', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_solver_processes', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Bank Account', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Causality Assignment Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Day Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Order Builder', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Property Movement Group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/agent', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/collect_order_group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/follow_up', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/group', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/marital_status', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/nationality', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/successor', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/collect_order_group/cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Purchase Supply Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Supply Line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_categories/cleaning_code', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Container Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Delivery Root Simulation Rule', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Internal Packing List Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Inventory Module', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Order Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Sale Packing List Cell', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/internal_packing_list_builder/base_variant_movement_group_in_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/internal_packing_list_builder/category_movement_group_on_delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/purchase_packing_list_builder/property_movement_group_on_delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder/base_variant_movement_group_in_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder/order_movement_group_on_delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder/property_movement_group_on_delivery', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder/property_movement_group_on_line', 'immediateReindexObject', -2, 1), ('/erp5_portal_fd0de85c129f357d0657211ca668159a/portal_deliveries/sale_packing_list_builder/variant_movement_group_on_cell', 'immediateReindexObject', -2, 1)]
Last error message:
ValueError
uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Assignment> is 291L and is already assigned to /inventory_api_test/portal_types/Assignment in catalog !!! This can be fatal.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1236, in invokeGroup
  Module Products.ERP5Catalog.CatalogTool, line 709, in catalogObjectList
  Module Products.ZSQLCatalog.ZSQLCatalog, line 835, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1370, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1494, in _catalogObjectList
ValueError: uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_fd0de85c129f357d0657211ca668159a/portal_types/Assignment> is 291L and is already assigned to /inventory_api_test/portal_types/Assignment in catalog !!! This can be fatal.



FAIL: test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/product/ERP5/tests/testTradeModelLine.py", line 1188, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart28/srv/slapos/software/ce61937c2d9e25c636af4f7d034e95ea/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 1188, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


More information about the Erp5-report mailing list