[Erp5-report] ERP5_z212 r42848 : 4550 Tests, 395 Errors, 593 Failures, 213 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 1 01:52:12 CET 2011


Test Suite: ERP5_z212
Revision: 42848
Result: FAIL

All tests: 4550
Failures: 593
Errors: 395
Skips: 213



The following tests failed:

  testAccounting                                     (42 failures, 26 errors)
   test_AccountingTransaction_lineResetGroupingReference (testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionRelatedInvoice (testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDifferentSide (testAccounting.TestTransactions)
   test_SourceDestinationReference (testAccounting.TestTransactions)
   test_SourceDestinationReferenceGroupAccounting (testAccounting.TestTransactions)
   test_automatically_setting_grouping_reference (testAccounting.TestTransactions)
   test_automatically_setting_grouping_reference_in_one_invoice (testAccounting.TestTransactions)
   test_automatically_setting_grouping_reference_same_group (testAccounting.TestTransactions)
   test_automatically_unsetting_grouping_reference_when_cancelling (testAccounting.TestTransactions)
   test_AccountWorkflow (testAccounting.TestAccounts)
   test_AccountingTransactionValidationRecursivePeriod (testAccounting.TestTransactionValidation)
   test_AccountingTransactionValidationRefusedWithCategoriesAsSections (testAccounting.TestTransactionValidation)
   test_AccountingTransactionValidationStartDate (testAccounting.TestTransactionValidation)
   test_AccountingWorkflow (testAccounting.TestTransactionValidation)
   test_DestinationPaymentTransactionValidationDate (testAccounting.TestTransactionValidation)
   test_NonBalancedAccountingTransaction (testAccounting.TestTransactionValidation)
   test_NonBalancedDestinationAccountingTransaction (testAccounting.TestTransactionValidation)
   test_NonBalancedDestinationAccountingTransactionNoAccount (testAccounting.TestTransactionValidation)
   test_PaymentTransactionValidationCheckBankAccountPriceCurrency (testAccounting.TestTransactionValidation)
   test_PaymentTransactionValidationDate (testAccounting.TestTransactionValidation)
   test_PaymentTransactionWithEmployee (testAccounting.TestTransactionValidation)
   test_PurchaseInvoiceTransactionValidationDate (testAccounting.TestTransactionValidation)
   test_SaleInvoiceTransactionValidationDate (testAccounting.TestTransactionValidation)
   test_UneededDestinationAssetPrice (testAccounting.TestTransactionValidation)
   test_UneededSourceAssetPrice (testAccounting.TestTransactionValidation)
   test_UnusedSectionTransactionValidationDate (testAccounting.TestTransactionValidation)
   test_AccountingPeriodNotStoppedTransactions (testAccounting.TestAccountingWithSequences), Accounting Periods refuse to close when some transactions are
   test_AccountingTransactionValidationAccounts (testAccounting.TestAccountingWithSequences), Transaction validation and accounts
   test_AccountingTransactionValidationBalanced (testAccounting.TestAccountingWithSequences), Transaction validation and balance
   test_AccountingTransactionValidationCurrency (testAccounting.TestAccountingWithSequences), Transaction validation and currency
   test_AccountingTransactionValidationDate (testAccounting.TestAccountingWithSequences), Transaction validation and dates
   test_AccountingTransactionValidationPayment (testAccounting.TestAccountingWithSequences), Transaction validation and payment
   test_AccountingTransactionValidationRemoveEmptyLines (testAccounting.TestAccountingWithSequences), Transaction validation removes empty lines
   test_AccountingTransactionValidationSection (testAccounting.TestAccountingWithSequences), Transaction validation and section
   test_Acquisition (testAccounting.TestAccountingWithSequences), Tests acquisition, categories and portal types are well
   test_createAccountingTransaction (testAccounting.TestAccountingWithSequences), Make sure acounting transactions created by createAccountingTransaction
   test_Account_getDestinationSectionItemList (testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionDifferentCurrency (testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionDifferentSection (testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionGroupedLines (testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDraft (testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionSimple (testAccounting.TestTransactions)
   test_automatically_setting_grouping_reference_same_section (testAccounting.TestTransactions)
   test_AccountValidation (testAccounting.TestAccounts)
   test_AccountingPeriodWorkflow (testAccounting.TestClosingPeriod), Tests that accounting_period_workflow creates a balance transaction.
   test_BalanceTransactionDate (testAccounting.TestClosingPeriod)
   test_BalanceTransactionDateInInventoryAPI (testAccounting.TestClosingPeriod)
   test_BalanceTransactionLineBrainGetObject (testAccounting.TestClosingPeriod)
   test_BalanceTransactionLineBrainGetObjectDifferentThirdParties (testAccounting.TestClosingPeriod)
   test_BalanceTransactionLineInventoryAPIParentPortalType (testAccounting.TestClosingPeriod)
   test_IndexingBalanceTransactionLinesWithSameNodes (testAccounting.TestClosingPeriod)
   test_InventoryIndexingNodeAndMirrorSection (testAccounting.TestClosingPeriod)
   test_InventoryIndexingNodeDiffOnNode (testAccounting.TestClosingPeriod)
   test_MultipleSection (testAccounting.TestClosingPeriod)
   test_MultipleSectionEmpty (testAccounting.TestClosingPeriod)
   test_MultipleSectionIndependant (testAccounting.TestClosingPeriod)
   test_ProfitAndLossUsedInPeriod (testAccounting.TestClosingPeriod), When the profit and loss account has a non zero balance at the end of
   test_SecondAccountingPeriod (testAccounting.TestClosingPeriod), Tests having two accounting periods.
   test_TemporaryClosing (testAccounting.TestClosingPeriod)
   test_createBalanceOnMirrorSection (testAccounting.TestClosingPeriod)
   test_createBalanceOnMirrorSectionMultiCurrency (testAccounting.TestClosingPeriod)
   test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection (testAccounting.TestClosingPeriod)
   test_createBalanceOnNode (testAccounting.TestClosingPeriod)
   test_createBalanceOnPayment (testAccounting.TestClosingPeriod)
   test_CancellationAmount (testAccounting.TestTransactionValidation)
   test_NonBalancedAccountingTransactionDifferentSectionOnLines (testAccounting.TestTransactionValidation)
   test_NonBalancedAccountingTransactionSectionOnLines (testAccounting.TestTransactionValidation)
   test_NonBalancedAccountingTransactionSectionPersonOnLines (testAccounting.TestTransactionValidation)

  testAccountingReports                              (54 failures, 1 errors)
   testAccountStatementFromDateSummaryEmpty (testAccountingReports.TestAccountingReports)
   testAccountStatement (testAccountingReports.TestAccountingReports)
   testAccountStatementCancellationAmount (testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateDetailedSummary (testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateDetailedSummaryGroupedAtFromDate (testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateDetailedSummaryGroupedAtFromDateCase2 (testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateSummary (testAccountingReports.TestAccountingReports)
   testAccountStatementMirrorSection (testAccountingReports.TestAccountingReports)
   testAccountStatementMultipleSection (testAccountingReports.TestAccountingReports)
   testAccountStatementOverMultiplePeriodsForExpenseAccounts (testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateAndInitialBalanceForExpenseAccounts (testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateAndInitialBalanceForStdAccounts (testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateEqualsFromDate (testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateForExpenseAccounts (testAccountingReports.TestAccountingReports)
   testAccountStatementSameSectionSameNode (testAccountingReports.TestAccountingReports)
   testAccountStatementSimulationState (testAccountingReports.TestAccountingReports)
   testGeneralLedger (testAccountingReports.TestAccountingReports)
   testGeneralLedgerFunction (testAccountingReports.TestAccountingReports)
   testGeneralLedgerGAPFilter (testAccountingReports.TestAccountingReports)
   testGeneralLedgerMirrorSectionRole (testAccountingReports.TestAccountingReports)
   testGeneralLedgerNoProject (testAccountingReports.TestAccountingReports)
   testGeneralLedgerProject (testAccountingReports.TestAccountingReports)
   testJournal (testAccountingReports.TestAccountingReports)
   testJournalProject (testAccountingReports.TestAccountingReports)
   testJournalTransactionsWithoutThirdParty (testAccountingReports.TestAccountingReports)
   testJournalWithBankAccount (testAccountingReports.TestAccountingReports)
   testOtherPartiesReport (testAccountingReports.TestAccountingReports)
   testTrialBalance (testAccountingReports.TestAccountingReports)
   testTrialBalanceAccountClassSummary (testAccountingReports.TestAccountingReports)
   testTrialBalanceDifferentCurrencies (testAccountingReports.TestAccountingReports)
   testTrialBalanceExpandAccounts (testAccountingReports.TestAccountingReports)
   testTrialBalanceFunction (testAccountingReports.TestAccountingReports)
   testTrialBalanceGAPFilter (testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalance (testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceBalanceTransaction (testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceBalanceTransactionDifferentFromDate (testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceMultiMirrorSectionExpandAccount (testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceMultiMirrorSectionNoExpandAccount (testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalancePeriodStartDateBalanceTransaction (testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceWithPeriod (testAccountingReports.TestAccountingReports)
   testTrialBalanceMirrorSectionRole (testAccountingReports.TestAccountingReports)
   testTrialBalanceNoProject (testAccountingReports.TestAccountingReports)
   testTrialBalancePortalType (testAccountingReports.TestAccountingReports)
   testTrialBalancePreviousPeriod (testAccountingReports.TestAccountingReports)
   testTrialBalanceProject (testAccountingReports.TestAccountingReports)
   testAccountStatementAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
   testAccountStatementAnalyticsShown (testAccountingReports.TestAccountingReportsWithAnalytic)
   testGeneralLedgerAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
   testGeneralLedgerAnalyticsShown (testAccountingReports.TestAccountingReportsWithAnalytic)
   testJournalAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
   testJournalAnalyticsShown (testAccountingReports.TestAccountingReportsWithAnalytic)
   testTrialBalanceGroupByFunction (testAccountingReports.TestAccountingReportsWithAnalytic)
   testTrialBalanceGroupByProductLine (testAccountingReports.TestAccountingReportsWithAnalytic)
   testTrialBalanceGroupByProject (testAccountingReports.TestAccountingReportsWithAnalytic)
   testTrialBalanceGroupByProjectAndFunction (testAccountingReports.TestAccountingReportsWithAnalytic)

  testAccounting_l10n_fr_m9                          (10 failures)
   test_AccountTypeConstaintFixFor4718 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixFor4721 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixFor4731 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixFor4735 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintFixForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
   test_AccountTypeConstaintForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)

  testAdvancedInvoicing                              (23 errors)
   test_01_TwoInvoicesFromTwoPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_02_InvoiceDeletePackingListLine (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_03_InvoiceDecreaseQuantity (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_04_InvoiceChangeStartDateFail (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_05_AcceptDecisionOnPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_06_AcceptDecisionOnPackingListAndInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_07_SplitAndDeferInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_08_AcceptDecisionOnInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_09_Reference (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_10_ManuallyAddedMovements (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_11_ManuallyAddedMovementsManyTransactions (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_12_compareInvoiceAndPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
   test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
   test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
   test_InvoiceViewAsODT (testAdvancedInvoicing.TestAdvancedSaleInvoice), Create ODT printout
   test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedSaleInvoice)
   test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Accept divergence with stopped packing list
   test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Adopt quantity with stopped packing list
   test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), test creating simple invoice and accounting transaction
   test_InvoiceViewAsODT (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Create ODT printout
   test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedPurchaseInvoice)

  testApparelTransformation                          (1 failures)
   test_01_getAggregatedAmountList (testApparelTransformation.TestApparelTransformation)

  testArchive                                        (1 errors)
   test_Archive (testArchive.TestArchive)

  testBudget                                         (10 failures)
   test_all_other_and_strict_consumption (testBudget.TestBudget)
   test_budget_consumption_report (testBudget.TestBudget)
   test_consumption_category_budget_variation_not_set (testBudget.TestBudget)
   test_consumption_category_variation_summary (testBudget.TestBudget)
   test_consumption_movement_category (testBudget.TestBudget)
   test_consumption_node_budget_variation_not_set (testBudget.TestBudget)
   test_none_and_all_others_virtual_nodes_together (testBudget.TestBudget)
   test_none_virtual_node (testBudget.TestBudget)
   test_only_none_virtual_node (testBudget.TestBudget)
   test_simple_consumption (testBudget.TestBudget)

  testBusinessTemplate                               (1 errors, 3 skips)
   test_type_provider_2 (testBusinessTemplate.TestBusinessTemplate)

  testCMFCategory                                    (6 failures)
   test_05_SingleAcquisition (testCMFCategory.TestCMFCategory)
   test_06_ListAcquisition (testCMFCategory.TestCMFCategory)
   test_11_ParentAcquisition (testCMFCategory.TestCMFCategory)
   test_21_AcquiredPortalType (testCMFCategory.TestCMFCategory), Test if acquired_portal_type works correctly.
   test_isAcquiredMemberOf (testCMFCategory.TestCMFCategory)
   test_parentAcquisitionIsMemberOf (testCMFCategory.TestCMFCategory)

  testCacheTool                                      (1 failures)
   test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins

  testCalendar                                       (4 failures)
   test_GroupCalendarConstraint (testCalendar.TestCalendar)
   test_LeaveRequestCalendarConstraint (testCalendar.TestCalendar)
   test_PersonModule_viewLeaveRequestReport (testCalendar.TestCalendar)
   test_PresenceRequestCalendarConstraint (testCalendar.TestCalendar)

  testConstraint                                     (1 failures, 8 errors)
   test_OverrideMessage (testConstraint.TestConstraint)
   test_PropertyTypeValidityFixLocalPropertiesContent (testConstraint.TestConstraint), Tests PropertyTypeValidity can repairs local property of type content
   test_PropertyTypeValidityFixLocalPropertiesFloat (testConstraint.TestConstraint), Tests PropertyTypeValidity can repairs local property when this property
   test_PropertyTypeValidityFixLocalPropertiesForCategories (testConstraint.TestConstraint), Tests PropertyTypeValidity can repairs categories when this property
   test_PropertyTypeValidityFixLocalPropertiesString (testConstraint.TestConstraint), Tests PropertyTypeValidity can repairs local property when this property
   test_PropertyTypeValidityForMultivaluedProperty (testConstraint.TestConstraint)
   test_PropertyTypeValidityWithUnauthorizedCategory (testConstraint.TestConstraint)
   test_RegisterWithPropertySheet (testConstraint.TestConstraint)
   test_05_CategoryExistence (testConstraint.TestConstraint)

  testConversionInSimulation                         (7 errors)
   test_01_delivery_mode_on_sale_packing_list_and_invoice (testConversionInSimulation.TestConversionInSimulation)
   test_01_destination_total_asset_price_on_accounting_lines (testConversionInSimulation.TestConversionInSimulation)
   test_01_diverged_purchase_packing_list_source_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
   test_01_diverged_sale_packing_list_destination_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
   test_01_quantity_unit_on_sale_packing_list (testConversionInSimulation.TestConversionInSimulation)
   test_01_simulation_movement_destination_asset_price (testConversionInSimulation.TestConversionInSimulation)
   test_01_simulation_movement_source_asset_price (testConversionInSimulation.TestConversionInSimulation)

  testDeferredConnection                             (3 errors)
   test_01_disconnectsCausesError (testDeferredConnection.TestDeferredConnection)
   test_02_disconnectionRobustness (testDeferredConnection.TestDeferredConnection)

  testDeliveryBuilderToSupportMultipleLines          (4 errors)
   test_01_IfNested (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_04_MergingMultipleSaleOrders (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)

  testDms                                            (1 failures, 2 skips)
   test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)

  testDmsWithFlare                                   (1 failures, 2 skips)
   test_base_convertable_behaviour_with_successive_updates (testDmsWithFlare.TestDocumentWithFlare), Check that update content's document (with setData and setFile)

  testDomainTool                                     (1 failures)
   test_07_NonLeftJoinModeOfSearchPredicateList (testDomainTool.TestDomainTool)

  testDynamicClassGeneration                         (1 failures, 1 skips)
   testCategoryExistenceConstraint (testDynamicClassGeneration.TestZodbPropertySheet)

  testERP5Base                                       (5 failures, 1 skips)
   test_02_Person (testERP5Base.TestERP5Base)
   test_03_Subordination (testERP5Base.TestERP5Base)
   test_04_SubordinationAndAddress (testERP5Base.TestERP5Base)
   test_SubordinationAcquisition (testERP5Base.TestERP5Base)
   test_SubordinationAcquisitionAndFunction (testERP5Base.TestERP5Base)

  testERP5Catalog                                    (1 failures, 4 skips)
   test_39_DeferredConnection (testERP5Catalog.TestERP5Catalog), ERP5Catalog uses a deferred connection for full text indexing.

  testERP5Category                                   (1 failures)
   test_getAcquiredCategoryList (testERP5Category.TestERP5Category)

  testERP5Core                                       (3 failures)
   test_Folder_delete_related_object (testERP5Core.TestERP5Core)
   test_manager_actions_on_portal (testERP5Core.TestERP5Core)
   test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.

  testERP5CurrencyExchangeLine                       (7 errors)
   test_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_CreateCELWithNoReferenceCurrency (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_CreateEmptyCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_DateOfCurrencyExchangeLineNotDateofTransaction (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_NoCurrencyExchangeLineForResourceCurrency (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_UseCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
   test_UseCurrencyExchangeLineForSource (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)

  testERP5DocumentSyncML                             (1 failures)
   test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5Simulation                                 (1 failures)
   test_01_splitAndDefer (testERP5Simulation.TestERP5Simulation)

  testERP5Type                                       (6 failures, 4 errors, 1 skips)
   test_19_AcquiredContentAccessor (testERP5Type.TestERP5Type), Tests an acquired content accessor.
   test_19b_AcquiredContentAccessorWithIdClash (testERP5Type.TestERP5Type), Tests a content setters do not set the property on acquired object
   test_copyWithoutModificationRight (testERP5Type.TestERP5Type)
   test_unsupportedTransitionRaises (testERP5Type.TestERP5Type)
   testPropertyListOnMonoValuedAcquiredProperty (testERP5Type.TestERP5Type)
   testPropertyListWithMonoValuedProperty (testERP5Type.TestERP5Type)
   test_PropertySheetSecurityOnAccessors (testERP5Type.TestERP5Type)
   test_edit (testERP5Type.TestERP5Type)
   test_getCreationDate (testERP5Type.TestERP5Type)
   test_translated_accessors (testERP5Type.TestERP5Type)

  testERP5eGov                                       (4 errors)
   test_01_new_procedure_creation (testERP5eGov.TestEgov)
   test_02_application_creation (testERP5eGov.TestEgov)
   test_03_submit_application (testERP5eGov.TestEgov)
   test_05_process_application (testERP5eGov.TestEgov)

  testImmobilisation                                 (11 failures, 5 errors, 2 skips)
   test_09_TestAmortisationPriceAndSimulationForLinearAmortisation (testImmobilisation.TestImmobilisation)
   test_10_TestAmortisationPriceForDegressiveAmortisation (testImmobilisation.TestImmobilisation)
   test_11_TestAmortisationPriceAndSimulationForUncontinuousDegressiveAmortisation (testImmobilisation.TestImmobilisation)
   test_12_TestAmortisationPriceForActualUseDegressiveAmortisation (testImmobilisation.TestImmobilisation)
   test_13_TestAmortisationPriceForNoAmortisationMethod (testImmobilisation.TestImmobilisation)
   test_05_TestImmobilisationPeriodsWithContinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
   test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
   test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
   test_08_TestImmobilisationPeriodsWithUncontinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
   test_14_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
   test_15_TestOwnerChangeSimulationForUnContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
   test_16_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
   test_17_TestMonthlyAmortisation (testImmobilisation.TestImmobilisation)
   test_18_TestAccountingBuilding (testImmobilisation.TestImmobilisation)
   test_19BIS_TestAccountingBuildAndOwngerChange (testImmobilisation.TestImmobilisation)
   test_21_TestSimulationBuildingWithValidatedTransactions (testImmobilisation.TestImmobilisation)

  testIngestion                                      (3 failures, 4 skips)
   test_14_ContributionToolIndexation (testIngestion.TestIngestion)
   test_16_TestMetadataDiscoveryFromUserLogin (testIngestion.TestIngestion)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet

  testIngestionWithFlare                             (3 failures, 4 skips)
   test_14_ContributionToolIndexation (testIngestionWithFlare.TestIngestionWithFlare)
   test_16_TestMetadataDiscoveryFromUserLogin (testIngestionWithFlare.TestIngestionWithFlare)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet

  testInternalOrder                                  (6 failures, 1 errors)
   test_19b_getTotalQuantityAndPrice (testInternalOrder.TestInternalOrder)
   test_11_testPropertiesAcquisition (testInternalOrder.TestInternalOrder)
   test_12_testAppliedRuleGeneration (testInternalOrder.TestInternalOrder)
   test_13_testAppliedRuleUpdate (testInternalOrder.TestInternalOrder)
   test_15_deliveryBuilder (testInternalOrder.TestInternalOrder)
   test_16_deliveryBuilderWithNoTic (testInternalOrder.TestInternalOrder)
   test_17_orderExpand (testInternalOrder.TestInternalOrder)

  testInvalidationBug                                (1 errors)
   testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)

  testInventory                                      (1 failures, 2 errors)
   test_02_InventoryModule (testInventory.TestInventory)
   test_03_InventoryModuleWithVariation (testInventory.TestInventory)
   test_01_getInventory (testInventory.TestInventory)

  testInventoryAPI                                   (14 failures, 2 skips)
   test_group_by_explanation (testInventoryAPI.TestMovementHistoryList)
   test_01_CurrentInventoryWithFullInventory (testInventoryAPI.TestInventoryDocument)
   test_02_InventoryAtLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_03_InventoryAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_05_InventoryListWithFullInventory (testInventoryAPI.TestInventoryDocument)
   test_06_InventoryListAtLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_07_InventoryListAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_09_InventoryListGroupedByResource (testInventoryAPI.TestInventoryDocument)
   test_10_InventoryListGroupedByResourceBeforeLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_11_InventoryListAroundLatestInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_12_InventoryListWithOrderByDate (testInventoryAPI.TestInventoryDocument)
   test_13_InventoryAfterModificationInPast (testInventoryAPI.TestInventoryDocument)
   test_14_TwoInventoryWithSameDateAndResourceAndNode (testInventoryAPI.TestInventoryDocument)
   testBackwardCompatibility (testInventoryAPI.TestUnitConversionBackwardCompatibility)

  testInventoryModule                                (3 failures)
   test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
   test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
   test_04_VariatedAggregatedInventoryGetInventoryList (testInventoryModule.TestInventoryModule)

  testInvoice                                        (53 errors)
   test_01_SimpleInvoice (testInvoice.TestSaleInvoice)
   test_01_quantity_unit_copied (testInvoice.TestSaleInvoice)
   test_02_TwoInvoicesFromTwoPackingList (testInvoice.TestSaleInvoice)
   test_03_InvoiceEditAndInvoiceRule (testInvoice.TestSaleInvoice)
   test_04_PackingListEditAndInvoiceRule (testInvoice.TestSaleInvoice)
   test_05_InvoiceEditPackingListLine (testInvoice.TestSaleInvoice)
   test_06_InvoiceDeletePackingListLine (testInvoice.TestSaleInvoice)
   test_07_InvoiceAddPackingListLine (testInvoice.TestSaleInvoice)
   test_08_InvoiceDecreaseQuantity (testInvoice.TestSaleInvoice)
   test_09_InvoiceChangeStartDateFail (testInvoice.TestSaleInvoice)
   test_09b_InvoiceChangeStartDateSucceed (testInvoice.TestSaleInvoice)
   test_10_AcceptDecisionOnPackingList (testInvoice.TestSaleInvoice)
   test_11_AcceptDecisionOnPackingListAndInvoice (testInvoice.TestSaleInvoice)
   test_12_SplitPackingListAndAcceptInvoice (testInvoice.TestSaleInvoice)
   test_13_SplitAndDeferInvoice (testInvoice.TestSaleInvoice)
   test_14_AcceptDecisionOnInvoice (testInvoice.TestSaleInvoice)
   test_16_ManuallyAddedMovements (testInvoice.TestSaleInvoice)
   test_16a_ManuallyAddedMovementsManyTransactions (testInvoice.TestSaleInvoice)
   test_17_ManuallyAddedWrongMovements (testInvoice.TestSaleInvoice)
   test_18_compareInvoiceAndPackingList (testInvoice.TestSaleInvoice)
   test_CopyAndPaste (testInvoice.TestSaleInvoice), Test copy on paste on Invoice.
   test_Invoice_viewAsODT (testInvoice.TestSaleInvoice)
   test_Invoice_viewAsODT_empty_image (testInvoice.TestSaleInvoice)
   test_Invoice_viewAsODT_invalid_image (testInvoice.TestSaleInvoice)
   test_Reference (testInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testInvoice.TestSaleInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestSaleInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestSaleInvoice)
   test_delivery_mode_and_incoterm_on_invoice (testInvoice.TestSaleInvoice)
   test_description_copied_on_lines (testInvoice.TestSaleInvoice)
   test_invoice_building_with_cells (testInvoice.TestSaleInvoice)
   test_invoice_building_with_cells_and_aggregate (testInvoice.TestSaleInvoice)
   test_invoice_created_from_packing_list_with_no_order (testInvoice.TestSaleInvoice)
   test_invoice_transaction_line_resource (testInvoice.TestSaleInvoice)
   test_modify_planned_order_invoice_transaction_rule (testInvoice.TestSaleInvoice)
   test_modify_planned_order_invoicing_rule (testInvoice.TestSaleInvoice)
   test_subcontent_reindexing (testInvoice.TestSaleInvoice), Tests, that modification on Order are propagated to lines and cells
   test_01_quantity_unit_copied (testInvoice.TestPurchaseInvoice)
   test_CopyAndPaste (testInvoice.TestPurchaseInvoice), Test copy on paste on Invoice.
   test_Invoice_viewAsODT (testInvoice.TestPurchaseInvoice)
   test_Invoice_viewAsODT_empty_image (testInvoice.TestPurchaseInvoice)
   test_Invoice_viewAsODT_invalid_image (testInvoice.TestPurchaseInvoice)
   test_accept_quantity_divergence_on_invoice_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)
   test_adopt_quantity_divergence_on_invoice_line_with_stopped_packing_list (testInvoice.TestPurchaseInvoice)
   test_delivery_mode_and_incoterm_on_invoice (testInvoice.TestPurchaseInvoice)
   test_description_copied_on_lines (testInvoice.TestPurchaseInvoice)
   test_invoice_building_with_cells (testInvoice.TestPurchaseInvoice)
   test_invoice_building_with_cells_and_aggregate (testInvoice.TestPurchaseInvoice)
   test_invoice_created_from_packing_list_with_no_order (testInvoice.TestPurchaseInvoice)
   test_invoice_transaction_line_resource (testInvoice.TestPurchaseInvoice)
   test_modify_planned_order_invoice_transaction_rule (testInvoice.TestPurchaseInvoice)
   test_modify_planned_order_invoicing_rule (testInvoice.TestPurchaseInvoice)
   test_subcontent_reindexing (testInvoice.TestPurchaseInvoice), Tests, that modification on Order are propagated to lines and cells

  testItem                                           (17 errors, 8 skips)
   test_01_ItemSimpleTest (testItem.TestItem)
   test_02_ItemWithInvoice (testItem.TestItem)
   test_03_CreateItemsFromPackingListLine (testItem.TestItem)
   test_04_CreateItemsFromPackingListLineWithVariationDefined (testItem.TestItem)
   test_05_CreateItemsFromPackingListLineWithNotVariatedResource (testItem.TestItem)
   test_06_VerifyHavingSameItemTwiceOnMovementCausesNoBug (testItem.TestItem)
   test_07_WithPackingListChangePackingListQuantityAndAccept (testItem.TestItem)
   test_08_ChangePackingListDateAndAccept (testItem.TestItem)
   test_09_ChangeOrderDateAndAcceptOnPackingList (testItem.TestItem)
   test_10_ChangeOrderQuantityAndAdoptOnPackingList (testItem.TestItem)
   test_11_ChangeOrderQuantityAndAcceptOnPackingList (testItem.TestItem)
   test_12_CreteSameResourceDifferentItemOrderLines (testItem.TestItem)
   test_13_CreateSameResourceDiffrentItemOrderLinesThenChangeTheOrderLinesDate (testItem.TestItem)
   test_14_ManuallyAddPackingListWithItem (testItem.TestItem)
   test_15_ThreeOrderLines (testItem.TestItem)
   test_select_item_dialog_no_variation (testItem.TestItem)
   test_select_item_dialog_variation (testItem.TestItem)

  testLegacyAccounting                               (42 failures, 26 errors)
   test_AccountingTransaction_lineResetGroupingReference (Products.ERP5.tests.testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionRelatedInvoice (Products.ERP5.tests.testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDifferentSide (Products.ERP5.tests.testAccounting.TestTransactions)
   test_SourceDestinationReference (Products.ERP5.tests.testAccounting.TestTransactions)
   test_SourceDestinationReferenceGroupAccounting (Products.ERP5.tests.testAccounting.TestTransactions)
   test_automatically_setting_grouping_reference (Products.ERP5.tests.testAccounting.TestTransactions)
   test_automatically_setting_grouping_reference_in_one_invoice (Products.ERP5.tests.testAccounting.TestTransactions)
   test_automatically_setting_grouping_reference_same_group (Products.ERP5.tests.testAccounting.TestTransactions)
   test_automatically_unsetting_grouping_reference_when_cancelling (Products.ERP5.tests.testAccounting.TestTransactions)
   test_AccountWorkflow (Products.ERP5.tests.testAccounting.TestAccounts)
   test_AccountingTransactionValidationRecursivePeriod (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_AccountingTransactionValidationRefusedWithCategoriesAsSections (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_AccountingTransactionValidationStartDate (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_AccountingWorkflow (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_DestinationPaymentTransactionValidationDate (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_NonBalancedAccountingTransaction (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_NonBalancedDestinationAccountingTransaction (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_NonBalancedDestinationAccountingTransactionNoAccount (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_PaymentTransactionValidationCheckBankAccountPriceCurrency (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_PaymentTransactionValidationDate (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_PaymentTransactionWithEmployee (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_PurchaseInvoiceTransactionValidationDate (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_SaleInvoiceTransactionValidationDate (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_UneededDestinationAssetPrice (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_UneededSourceAssetPrice (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_UnusedSectionTransactionValidationDate (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_AccountingPeriodNotStoppedTransactions (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Accounting Periods refuse to close when some transactions are
   test_AccountingTransactionValidationAccounts (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and accounts
   test_AccountingTransactionValidationBalanced (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and balance
   test_AccountingTransactionValidationCurrency (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and currency
   test_AccountingTransactionValidationDate (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and dates
   test_AccountingTransactionValidationPayment (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and payment
   test_AccountingTransactionValidationRemoveEmptyLines (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation removes empty lines
   test_AccountingTransactionValidationSection (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Transaction validation and section
   test_Acquisition (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Tests acquisition, categories and portal types are well
   test_createAccountingTransaction (Products.ERP5.tests.testAccounting.TestAccountingWithSequences), Make sure acounting transactions created by createAccountingTransaction
   test_Account_getDestinationSectionItemList (Products.ERP5.tests.testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionDifferentCurrency (Products.ERP5.tests.testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionDifferentSection (Products.ERP5.tests.testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionGroupedLines (Products.ERP5.tests.testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDraft (Products.ERP5.tests.testAccounting.TestTransactions)
   test_Invoice_createRelatedPaymentTransactionSimple (Products.ERP5.tests.testAccounting.TestTransactions)
   test_automatically_setting_grouping_reference_same_section (Products.ERP5.tests.testAccounting.TestTransactions)
   test_AccountValidation (Products.ERP5.tests.testAccounting.TestAccounts)
   test_AccountingPeriodWorkflow (Products.ERP5.tests.testAccounting.TestClosingPeriod), Tests that accounting_period_workflow creates a balance transaction.
   test_BalanceTransactionDate (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_BalanceTransactionDateInInventoryAPI (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_BalanceTransactionLineBrainGetObject (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_BalanceTransactionLineBrainGetObjectDifferentThirdParties (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_BalanceTransactionLineInventoryAPIParentPortalType (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_IndexingBalanceTransactionLinesWithSameNodes (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_InventoryIndexingNodeAndMirrorSection (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_InventoryIndexingNodeDiffOnNode (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_MultipleSection (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_MultipleSectionEmpty (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_MultipleSectionIndependant (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_ProfitAndLossUsedInPeriod (Products.ERP5.tests.testAccounting.TestClosingPeriod), When the profit and loss account has a non zero balance at the end of
   test_SecondAccountingPeriod (Products.ERP5.tests.testAccounting.TestClosingPeriod), Tests having two accounting periods.
   test_TemporaryClosing (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_createBalanceOnMirrorSection (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_createBalanceOnMirrorSectionMultiCurrency (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_createBalanceOnNode (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_createBalanceOnPayment (Products.ERP5.tests.testAccounting.TestClosingPeriod)
   test_CancellationAmount (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_NonBalancedAccountingTransactionDifferentSectionOnLines (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_NonBalancedAccountingTransactionSectionOnLines (Products.ERP5.tests.testAccounting.TestTransactionValidation)
   test_NonBalancedAccountingTransactionSectionPersonOnLines (Products.ERP5.tests.testAccounting.TestTransactionValidation)

  testLegacyAccountingReports                        (54 failures, 1 errors)
   testAccountStatementFromDateSummaryEmpty (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatement (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementCancellationAmount (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateDetailedSummary (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateDetailedSummaryGroupedAtFromDate (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateDetailedSummaryGroupedAtFromDateCase2 (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementFromDateSummary (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementMirrorSection (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementMultipleSection (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementOverMultiplePeriodsForExpenseAccounts (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateAndInitialBalanceForExpenseAccounts (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateAndInitialBalanceForStdAccounts (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateEqualsFromDate (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementPeriodDateForExpenseAccounts (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementSameSectionSameNode (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementSimulationState (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testGeneralLedger (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testGeneralLedgerFunction (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testGeneralLedgerGAPFilter (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testGeneralLedgerMirrorSectionRole (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testGeneralLedgerNoProject (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testGeneralLedgerProject (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testJournal (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testJournalProject (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testJournalTransactionsWithoutThirdParty (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testJournalWithBankAccount (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testOtherPartiesReport (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalance (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceAccountClassSummary (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceDifferentCurrencies (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceExpandAccounts (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceFunction (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceGAPFilter (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalance (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceBalanceTransaction (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceBalanceTransactionDifferentFromDate (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceMultiMirrorSectionExpandAccount (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceMultiMirrorSectionNoExpandAccount (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalancePeriodStartDateBalanceTransaction (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceInitialBalanceWithPeriod (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceMirrorSectionRole (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceNoProject (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalancePortalType (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalancePreviousPeriod (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testTrialBalanceProject (Products.ERP5.tests.testAccountingReports.TestAccountingReports)
   testAccountStatementAnalyticsHidden (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
   testAccountStatementAnalyticsShown (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
   testGeneralLedgerAnalyticsHidden (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
   testGeneralLedgerAnalyticsShown (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
   testJournalAnalyticsHidden (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
   testJournalAnalyticsShown (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
   testTrialBalanceGroupByFunction (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
   testTrialBalanceGroupByProductLine (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
   testTrialBalanceGroupByProject (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)
   testTrialBalanceGroupByProjectAndFunction (Products.ERP5.tests.testAccountingReports.TestAccountingReportsWithAnalytic)

  testLegacyAccountingRules                          (2 failures, 22 errors)
   test_04_SimpleInvoice (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Simple Invoice.
   test_04b_SimpleInvoiceConfirm (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Same test as SimpleInvoice but directly confirm the invoice
   test_04c_SimpleInvoiceTwoLines (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Simple Invoice, 2 lines.
   test_04d_SimpleInvoiceTwoCells (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Simple Invoice, 2 cells.
   test_05a_SimpleInvoiceReExpandAddLine (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Add a new line then updateAppliedRule.
   test_05b_SimpleInvoiceReExpandEditLine (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Tests that editing a line updates simulation correctly
   test_05c_SimpleInvoiceReExpandDeleteLine (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Tests that removing a line updates simulation correctly
   test_05d_SimpleInvoiceReExpandCreateCell (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Tests that replacing a line by cells updates simulation correctly
   test_05e_SimpleInvoiceExpandManyTimes (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Tests that updating an applied rule many times doesn't break the
   test_06_MultiLineInvoice (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), Multiple lines invoice.
   test_planning_invoice_creates_simulation (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules)
   test_04_SimpleInvoice (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Simple Invoice.
   test_04b_SimpleInvoiceConfirm (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Same test as SimpleInvoice but directly confirm the invoice
   test_04c_SimpleInvoiceTwoLines (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Simple Invoice, 2 lines.
   test_04d_SimpleInvoiceTwoCells (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Simple Invoice, 2 cells.
   test_05a_SimpleInvoiceReExpandAddLine (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Add a new line then updateAppliedRule.
   test_05b_SimpleInvoiceReExpandEditLine (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Tests that editing a line updates simulation correctly
   test_05c_SimpleInvoiceReExpandDeleteLine (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Tests that removing a line updates simulation correctly
   test_05d_SimpleInvoiceReExpandCreateCell (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Tests that replacing a line by cells updates simulation correctly
   test_05e_SimpleInvoiceExpandManyTimes (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Tests that updating an applied rule many times doesn't break the
   test_06_MultiLineInvoice (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), Multiple lines invoice.
   test_planning_invoice_creates_simulation (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules)
   test_03_invoiceTransactionRule_getMatchingCell (Products.ERP5.tests.testAccountingRules.TestSaleAccountingRules), test predicates for the cells of invoice transaction rule
   test_03_invoiceTransactionRule_getMatchingCell (Products.ERP5.tests.testAccountingRules.TestPurchaseAccountingRules), test predicates for the cells of invoice transaction rule

  testLegacyConversionInSimulation                   (1 failures, 6 errors)
   test_01_delivery_mode_on_sale_packing_list_and_invoice (testLegacyConversionInSimulation.TestConversionInSimulation)
   test_01_destination_total_asset_price_on_accounting_lines (testLegacyConversionInSimulation.TestConversionInSimulation)
   test_01_diverged_purchase_packing_list_source_total_asset_price (testLegacyConversionInSimulation.TestConversionInSimulation)
   test_01_diverged_sale_packing_list_destination_total_asset_price (testLegacyConversionInSimulation.TestConversionInSimulation)
   test_01_simulation_movement_destination_asset_price (testLegacyConversionInSimulation.TestConversionInSimulation)
   test_01_simulation_movement_source_asset_price (testLegacyConversionInSimulation.TestConversionInSimulation)
   test_01_quantity_unit_on_sale_packing_list (testLegacyConversionInSimulation.TestConversionInSimulation)

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

  testLegacyDivergenceTester                         (4 failures)
   test_01_QuantityDivergenceTester (Products.ERP5.tests.testDivergenceTester.TestDivergenceTester)
   test_02_CategoryDivergenceTester (Products.ERP5.tests.testDivergenceTester.TestDivergenceTester)
   test_03_PropertyDivergenceTester (Products.ERP5.tests.testDivergenceTester.TestDivergenceTester)
   test_04_CategoryDivergenceTester (Products.ERP5.tests.testDivergenceTester.TestDivergenceTester)

  testLegacyImmobilisation                           (13 failures, 5 errors)
   test_09_TestAmortisationPriceAndSimulationForLinearAmortisation (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_10_TestAmortisationPriceForDegressiveAmortisation (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_11_TestAmortisationPriceAndSimulationForUncontinuousDegressiveAmortisation (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_12_TestAmortisationPriceForActualUseDegressiveAmortisation (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_13_TestAmortisationPriceForNoAmortisationMethod (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_05_TestImmobilisationPeriodsWithContinuousMethodDuringContinuousTime (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_08_TestImmobilisationPeriodsWithUncontinuousMethodDuringUncontinuousTime (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_14_TestOwnerChangeSimulationForContinuousAmortisationMethod (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_15_TestOwnerChangeSimulationForUnContinuousAmortisationMethod (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_16_TestOwnerChangeSimulationForContinuousAmortisationMethod (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_17_TestMonthlyAmortisation (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_18_TestAccountingBuilding (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_19BIS_TestAccountingBuildAndOwngerChange (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_19_TestAccountingBuildingAndDivergence (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_20_TestAccountingAcceptDecisionSolver (Products.ERP5.tests.testImmobilisation.TestImmobilisation)
   test_21_TestSimulationBuildingWithValidatedTransactions (Products.ERP5.tests.testImmobilisation.TestImmobilisation)

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

  testLegacyOrder                                    (4 failures, 1 errors)
   test_19b_getTotalQuantityAndPrice (testLegacyOrder.TestOrder)
   test_11_testPropertiesAcquisition (testLegacyOrder.TestOrder)
   test_15_deliveryBuilder (testLegacyOrder.TestOrder)
   test_16_deliveryBuilderWithNoTic (testLegacyOrder.TestOrder)
   test_order_payment_condition_copied (testLegacyOrder.TestOrder)

  testLegacyPackingList                              (42 failures)
   test_01_PackingListDecreaseQuantity (testLegacyPackingList.TestPackingList)
   test_02_PackingListChangeDestination (testLegacyPackingList.TestPackingList)
   test_03_PackingListChangeStartDate (testLegacyPackingList.TestPackingList)
   test_04_PackingListDeleteLine (testLegacyPackingList.TestPackingList)
   test_05_SimulationChangeQuantity (testLegacyPackingList.TestPackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testLegacyPackingList.TestPackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testLegacyPackingList.TestPackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testLegacyPackingList.TestPackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testLegacyPackingList.TestPackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testLegacyPackingList.TestPackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testLegacyPackingList.TestPackingList)
   test_06_SimulationChangeStartDate (testLegacyPackingList.TestPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testLegacyPackingList.TestPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testLegacyPackingList.TestPackingList)
   test_08_AddContainers (testLegacyPackingList.TestPackingList)
   test_09_AddContainersWithVariatedResources (testLegacyPackingList.TestPackingList)
   test_10_PackingListIncreaseQuantity (testLegacyPackingList.TestPackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacyPackingList.TestPackingList)
   test_12_PackingListLineChangeResource (testLegacyPackingList.TestPackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testLegacyPackingList.TestPackingList)
   test_SplitAndDeferDoNothing (testLegacyPackingList.TestPackingList)
   test_01_PackingListDecreaseQuantity (testLegacyPackingList.TestPurchasePackingList)
   test_02_PackingListChangeDestination (testLegacyPackingList.TestPurchasePackingList)
   test_03_PackingListChangeStartDate (testLegacyPackingList.TestPurchasePackingList)
   test_04_PackingListDeleteLine (testLegacyPackingList.TestPurchasePackingList)
   test_05_SimulationChangeQuantity (testLegacyPackingList.TestPurchasePackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testLegacyPackingList.TestPurchasePackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testLegacyPackingList.TestPurchasePackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testLegacyPackingList.TestPurchasePackingList)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testLegacyPackingList.TestPurchasePackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testLegacyPackingList.TestPurchasePackingList)
   test_05f_SimulationChangeAndPartialAcceptDecision (testLegacyPackingList.TestPurchasePackingList)
   test_06_SimulationChangeStartDate (testLegacyPackingList.TestPurchasePackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testLegacyPackingList.TestPurchasePackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testLegacyPackingList.TestPurchasePackingList)
   test_08_AddContainers (testLegacyPackingList.TestPurchasePackingList)
   test_09_AddContainersWithVariatedResources (testLegacyPackingList.TestPurchasePackingList)
   test_10_PackingListIncreaseQuantity (testLegacyPackingList.TestPurchasePackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacyPackingList.TestPurchasePackingList)
   test_12_PackingListLineChangeResource (testLegacyPackingList.TestPurchasePackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testLegacyPackingList.TestPurchasePackingList)
   test_SplitAndDeferDoNothing (testLegacyPackingList.TestPurchasePackingList)

  testLegacyProductionOrder                          (1 errors)
   test_09_testTransformationWithVariation (testLegacyProductionOrder.TestProductionOrder)

  testLegacyProductionPackingList                    (1 failures)
   test_01_sourcingDelivery (testLegacyProductionPackingList.TestProductionDelivery)

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

  testLegacyReturnedSalePackingList                  (1 failures)
   test_01_ReturnedSalePackingListWithInventory (Products.ERP5.tests.testReturnedSalePackingList.TestReturnedSalePackingList)

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

  testLegacySimulationInventory                      (2 failures)
   test_01_getInventory (Products.ERP5.tests.testInventory.TestInventory)
   test_03_InventoryModuleWithVariation (Products.ERP5.tests.testInventory.TestInventory)

  testLegacySimulationInventoryAPI                   (14 failures, 2 skips)
   test_group_by_explanation (Products.ERP5.tests.testInventoryAPI.TestMovementHistoryList)
   test_01_CurrentInventoryWithFullInventory (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_02_InventoryAtLatestFullInventoryDate (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_03_InventoryAtEarlierFullInventoryDate (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_05_InventoryListWithFullInventory (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_06_InventoryListAtLatestFullInventoryDate (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_07_InventoryListAtEarlierFullInventoryDate (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_09_InventoryListGroupedByResource (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_10_InventoryListGroupedByResourceBeforeLatestFullInventoryDate (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_11_InventoryListAroundLatestInventoryDate (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_12_InventoryListWithOrderByDate (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_13_InventoryAfterModificationInPast (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   test_14_TwoInventoryWithSameDateAndResourceAndNode (Products.ERP5.tests.testInventoryAPI.TestInventoryDocument)
   testBackwardCompatibility (Products.ERP5.tests.testInventoryAPI.TestUnitConversionBackwardCompatibility)

  testLegacySimulationInventoryModule                (3 failures)
   test_02_VariatedInventory (Products.ERP5.tests.testInventoryModule.TestInventoryModule)
   test_03_VariatedAggregatedInventory (Products.ERP5.tests.testInventoryModule.TestInventoryModule)
   test_04_VariatedAggregatedInventoryGetInventoryList (Products.ERP5.tests.testInventoryModule.TestInventoryModule)

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

  testLegacySimulationItem                           (17 failures, 1 errors)
   test_02_ItemWithInvoice (Products.ERP5.tests.testItem.TestItem)
   test_01_ItemSimpleTest (Products.ERP5.tests.testItem.TestItem)
   test_07_WithPackingListChangePackingListQuantityAndAccept (Products.ERP5.tests.testItem.TestItem)
   test_08_ChangePackingListDateAndAccept (Products.ERP5.tests.testItem.TestItem)
   test_09_ChangeOrderDateAndAcceptOnPackingList (Products.ERP5.tests.testItem.TestItem)
   test_10_ChangeOrderQuantityAndAdoptOnPackingList (Products.ERP5.tests.testItem.TestItem)
   test_11_ChangeOrderQuantityAndAcceptOnPackingList (Products.ERP5.tests.testItem.TestItem)
   test_12_CreteSameResourceDifferentItemOrderLines (Products.ERP5.tests.testItem.TestItem)
   test_13_CreateSameResourceDiffrentItemOrderLinesThenChangeTheOrderLinesDate (Products.ERP5.tests.testItem.TestItem)
   test_14_ManuallyAddPackingListWithItem (Products.ERP5.tests.testItem.TestItem)
   test_15_ThreeOrderLines (Products.ERP5.tests.testItem.TestItem)
   test_select_item_dialog_variation (Products.ERP5.tests.testItem.TestItem)
   test_Item_getCurrentOwnerTitle (Products.ERP5.tests.testItem.TestItemScripts)
   test_Item_getCurrentOwnerValue (Products.ERP5.tests.testItem.TestItemScripts)
   test_Item_getCurrentSiteTitle (Products.ERP5.tests.testItem.TestItemScripts)
   test_Item_getCurrentSiteValue (Products.ERP5.tests.testItem.TestItemScripts)
   test_Item_getVariationCategoryList (Products.ERP5.tests.testItem.TestItemScripts)
   test_Item_getVariationRangeCategoryItemList (Products.ERP5.tests.testItem.TestItemScripts)

  testLegacySimulationOrder                          (4 failures, 1 errors)
   test_19b_getTotalQuantityAndPrice (Products.ERP5.tests.testOrder.TestOrder)
   test_11_testPropertiesAcquisition (Products.ERP5.tests.testOrder.TestOrder)
   test_15_deliveryBuilder (Products.ERP5.tests.testOrder.TestOrder)
   test_16_deliveryBuilderWithNoTic (Products.ERP5.tests.testOrder.TestOrder)
   test_order_payment_condition_copied (Products.ERP5.tests.testOrder.TestOrder)

  testLegacySimulationOrderBuilder                   (4 errors)
   test_01_simpleOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
   test_01a_simpleOrderBuilderVariatedResource (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
   test_02_maxDelayResourceOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
   test_03_minFlowResourceOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)

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

  testLegacySimulationProduction                     (2 failures, 5 errors)
   test_02_testSourcingSimulationExpand (Products.ERP5.tests.testProductionOrder.TestProductionOrder)
   test_05_testSourcingSimulationBuild (Products.ERP5.tests.testProductionOrder.TestProductionOrder)
   test_08_testTransformationWithEfficiency (Products.ERP5.tests.testProductionOrder.TestProductionOrder)
   test_09_testTransformationWithVariation (Products.ERP5.tests.testProductionOrder.TestProductionOrder)
   test_01_sourcingDelivery (Products.ERP5.tests.testProductionPackingList.TestProductionDelivery)
   test_01_testProductionSimulationExpand (Products.ERP5.tests.testProductionOrder.TestProductionOrder)
   test_03_testIndustrialPhase (Products.ERP5.tests.testProductionOrder.TestProductionOrder)

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

  testLegacyTaxLineTradeCondition                    (18 failures, 2 errors)
   test_tax_line_simulation (testLegacyTaxLineTradeCondition.TestTaxLineInvoiceSimulationPurchaseInvoice)
   test_tax_line_simulation (testLegacyTaxLineTradeCondition.TestTaxLineInvoiceSimulationSaleInvoice)
   test_hierarchical_order_line_and_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
   test_order_cell_and_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
   test_temp_order_hierarchical (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
   test_hierarchical_order_line_and_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
   test_order_cell_and_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
   test_temp_order_hierarchical (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
   test_order_cell_and_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleInvoice)
   test_order_cell_and_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseInvoice)
   test_tax_line_build (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationSaleOrder)
   test_tax_line_build_accounting (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationSaleOrder)
   test_tax_line_merged_build (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationSaleOrder)
   test_tax_line_simulation (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationSaleOrder)
   test_tax_line_updated_on_invoice_line_change (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationSaleOrder)
   test_tax_line_build (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
   test_tax_line_build_accounting (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
   test_tax_line_merged_build (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
   test_tax_line_simulation (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
   test_tax_line_updated_on_invoice_line_change (testLegacyTaxLineTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)

  testLegacyTradeCondition                           (4 failures)
   test_category_acquisition (testLegacyTradeCondition.TestTradeConditionSupplyLineSaleOrder)
   test_category_acquisition (testLegacyTradeCondition.TestTradeConditionSupplyLinePurchaseOrder)
   test_category_acquisition (testLegacyTradeCondition.TestTradeConditionSupplyLineSaleInvoice)
   test_category_acquisition (testLegacyTradeCondition.TestTradeConditionSupplyLinePurchaseInvoice)

  testLegacyTradeModelLine                           (6 failures, 6 errors)
   test_01_OrderWithSimpleTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale), Full test case with quite simple linear use case
   test_01a_InvoiceNewTradeConditionOrLineSupport (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_01c_PackingListSplitBuildInvoiceBuild (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_01_OrderWithSimpleTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase), Full test case with quite simple linear use case
   test_01a_InvoiceNewTradeConditionOrLineSupport (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_01c_PackingListSplitBuildInvoiceBuild (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_BuildTradeModelLineAndAccountingFromInvoice (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_BuildTradeModelLineAndAccountingFromOrder (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_BuildTradeModelLineAndAccountingFromInvoice (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_BuildTradeModelLineAndAccountingFromOrder (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testLegacyTransformation                           (1 failures)
   test_transformedInventory (Products.ERP5.tests.testTransformation.TestTransformation)

  testMemcachedTool                                  (1 failures)
   test_07_checkExpirationTimeOfMemcachedDict (testMemcachedTool.TestMemcachedTool)

  testOpenOrder                                      (2 errors, 1 skips)
   testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
   testOpenOrderRule (testOpenOrder.TestOpenOrder)

  testOrder                                          (8 failures, 1 errors)
   test_19b_getTotalQuantityAndPrice (testOrder.TestOrder)
   test_11_testPropertiesAcquisition (testOrder.TestOrder)
   test_12_testAppliedRuleGeneration (testOrder.TestOrder)
   test_13_testAppliedRuleUpdate (testOrder.TestOrder)
   test_15_deliveryBuilder (testOrder.TestOrder)
   test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
   test_17_orderExpand (testOrder.TestOrder)
   test_20_testHierarchicalOrderAppliedRuleGeneration (testOrder.TestOrder)
   test_order_payment_condition_copied (testOrder.TestOrder)

  testPackingList                                    (35 failures, 2 errors, 16 skips)
   test_16_simulation_reindexation_on_cancel (testPackingList.TestPackingList)
   test_16_simulation_reindexation_on_cancel (testPackingList.TestPurchasePackingList)
   test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)
   test_02_PackingListChangeDestination (testPackingList.TestPackingList)
   test_03_PackingListChangeStartDate (testPackingList.TestPackingList)
   test_04_PackingListDeleteLine (testPackingList.TestPackingList)
   test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testPackingList.TestPackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testPackingList.TestPackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testPackingList.TestPackingList)
   test_08_AddContainers (testPackingList.TestPackingList)
   test_10_PackingListIncreaseQuantity (testPackingList.TestPackingList)
   test_12_PackingListLineChangeResource (testPackingList.TestPackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testPackingList.TestPackingList)
   test_17_PackingListOrderLineWithAccount (testPackingList.TestPackingList)
   test_18_ChangeQuantityOnPackingListAndOrder (testPackingList.TestPackingList)
   test_SplitAndDeferDoNothing (testPackingList.TestPackingList)
   test_01_PackingListDecreaseQuantity (testPackingList.TestSolvingPackingList)
   test_02_PackingListDecreaseQuantity (testPackingList.TestSolvingPackingList)
   test_09_AddContainersWithVariatedResources (testPackingList.TestSolvingPackingList)
   test_01_PackingListDecreaseQuantity (testPackingList.TestPurchasePackingList)
   test_02_PackingListChangeDestination (testPackingList.TestPurchasePackingList)
   test_03_PackingListChangeStartDate (testPackingList.TestPurchasePackingList)
   test_04_PackingListDeleteLine (testPackingList.TestPurchasePackingList)
   test_05_SimulationChangeQuantity (testPackingList.TestPurchasePackingList)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testPackingList.TestPurchasePackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPurchasePackingList)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testPackingList.TestPurchasePackingList)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testPackingList.TestPurchasePackingList)
   test_08_AddContainers (testPackingList.TestPurchasePackingList)
   test_10_PackingListIncreaseQuantity (testPackingList.TestPurchasePackingList)
   test_12_PackingListLineChangeResource (testPackingList.TestPurchasePackingList)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testPackingList.TestPurchasePackingList)
   test_17_PackingListOrderLineWithAccount (testPackingList.TestPurchasePackingList)
   test_18_ChangeQuantityOnPackingListAndOrder (testPackingList.TestPurchasePackingList)
   test_SplitAndDeferDoNothing (testPackingList.TestPurchasePackingList)

  testPackingListRoundingPrecision                   (16 failures, 1 errors, 8 skips)
   test_16_simulation_reindexation_on_cancel (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_01_PackingListDecreaseQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_02_PackingListChangeDestination (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_03_PackingListChangeStartDate (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_04_PackingListDeleteLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05_SimulationChangeQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05a_SimulationChangeQuantityAndAcceptDecision (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05b_SimulationChangeQuantityForMergedLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05c_SimulationChangeQuantityAndAcceptDecisionForMergedLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05e_SimulationUnifyResourceOnSimulationMovementsForNonMergedLines (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_08_AddContainers (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_10_PackingListIncreaseQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_12_PackingListLineChangeResource (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_15_CheckBuilderCanBeCalledTwiceSafely (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_17_PackingListOrderLineWithAccount (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_18_ChangeQuantityOnPackingListAndOrder (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_SplitAndDeferDoNothing (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)

  testPayroll                                        (4 failures, 14 errors)
   test_PaySheetTransaction_getMovementList (testPayroll.TestPayroll)
   test_basicPaySheetCalculation (testPayroll.TestPayroll)
   test_complexSliceOnModelLine (testPayroll.TestPayroll)
   test_intermediateLines (testPayroll.TestPayroll)
   test_modelLineWithNonePrice (testPayroll.TestPayroll)
   test_paySheetCalculationWithBonus (testPayroll.TestPayroll)
   test_predicateOnModelLine (testPayroll.TestPayroll)
   test_propertiesAreSetOnPaysheetLines (testPayroll.TestPayroll), check porperties from model line (like description, int_index,
   test_sliceOnModelLine (testPayroll.TestPayroll)
   test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
   test_updateAddMovements (testPayroll.TestPayroll)
   test_updateModifyMovements (testPayroll.TestPayroll)
   test_updatePaysheetAfterModelModification (testPayroll.TestPayroll), generate a paysheet using a model, modify the model by adding a new
   test_updateRemoveMovements (testPayroll.TestPayroll)
   test_AccountingLineGeneration (testPayroll.TestPayroll)
   test_NetSalaryReport (testPayroll.TestPayroll)
   test_PayrollTaxesReport (testPayroll.TestPayroll)
   test_PayrollTaxesReportDifferentSalaryRange (testPayroll.TestPayroll)

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

  testPreferences                                    (3 errors, 1 skips)
   test_boolean_accessor (testPreferences.TestPreferences)
   test_property_sheet_security_on_permission (testPreferences.TestPreferences), Added a test to make sure permissions are used into portal
   test_system_preference_value_prefererred (testPreferences.TestPreferences)

  testPurchaseOrder                                  (7 failures, 1 errors)
   test_19b_getTotalQuantityAndPrice (testPurchaseOrder.TestPurchaseOrder)
   test_11_testPropertiesAcquisition (testPurchaseOrder.TestPurchaseOrder)
   test_12_testAppliedRuleGeneration (testPurchaseOrder.TestPurchaseOrder)
   test_13_testAppliedRuleUpdate (testPurchaseOrder.TestPurchaseOrder)
   test_15_deliveryBuilder (testPurchaseOrder.TestPurchaseOrder)
   test_16_deliveryBuilderWithNoTic (testPurchaseOrder.TestPurchaseOrder)
   test_17_orderExpand (testPurchaseOrder.TestPurchaseOrder)
   test_order_payment_condition_copied (testPurchaseOrder.TestPurchaseOrder)

  testResource                                       (5 failures)
   testGetPriceWithPriceCurrency (testResource.TestResource)
   test_10_getPriceWithOptions (testResource.TestResource)
   test_11_getPriceWithDestinationSection (testResource.TestResource)
   test_11b_getPriceWithCells (testResource.TestResource)
   test_12_getInternalVsPurchaseVsSalePrice (testResource.TestResource)

  testRule                                           (4 errors)
   test_09_expandTwoRules (testRule.TestRule)
   test_10_expandAddsRule (testRule.TestRule)
   test_11_expandRemovesRule (testRule.TestRule)
   test_12_expandReplacesRule (testRule.TestRule)

  testTask                                           (1 failures, 5 errors)
   test_01_testTaskBasicUseCase (testTask.TestTask)
   test_01_testTaskNoPrice (testTask.TestTask)
   test_02_testMultipleLineTaskBasicUseCase (testTask.TestTask)
   test_04_checkNotMergedTaskReportLine (testTask.TestTask)
   test_05_testStrictSimulationSecurity (testTask.TestTask), Test creation of task and (automatic) task_report with strict
   test_03_testTaskReportBasicUseCase (testTask.TestTask)

  testTaskReporting                                  (1 failures)
   testProjectMontlyReport (testTaskReporting.TestTaskReporting)

  testTradeCondition                                 (4 failures)
   test_category_acquisition (testTradeCondition.TestTradeConditionSupplyLineSaleOrder)
   test_category_acquisition (testTradeCondition.TestTradeConditionSupplyLinePurchaseOrder)
   test_category_acquisition (testTradeCondition.TestTradeConditionSupplyLineSaleInvoice)
   test_category_acquisition (testTradeCondition.TestTradeConditionSupplyLinePurchaseInvoice)

  testTradeModelLine                                 (3 failures, 4 errors)
   test_01_OrderWithSimpleTaxedAndDiscountedLines (testTradeModelLine.TestTradeModelLineSale), Full test case with quite simple linear use case
   test_01a_InvoiceNewTradeConditionOrLineSupport (testTradeModelLine.TestTradeModelLineSale)
   test_01b_NewSimulation_InvoiceModifyQuantityAndSolveDivergency (testTradeModelLine.TestTradeModelLineSale)
   test_01c_PackingListSplitBuildInvoiceBuild (testTradeModelLine.TestTradeModelLineSale)
   test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLine.TestTradeModelLineSale)
   test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLine.TestTradeModelLineSale)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (3 failures, 4 errors)
   test_01_OrderWithSimpleTaxedAndDiscountedLines (testTradeModelLinePurchase.TestTradeModelLinePurchase), Full test case with quite simple linear use case
   test_01a_InvoiceNewTradeConditionOrLineSupport (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_01b_NewSimulation_InvoiceModifyQuantityAndSolveDivergency (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_01c_PackingListSplitBuildInvoiceBuild (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testTradeReports                                   (2 failures)
   testStockReport (testTradeReports.TestTradeReports)
   testStockReportWithPositiveOrNegativeOrZeroStock (testTradeReports.TestTradeReports)

  testTransformation                                 (1 failures)
   test_transformedInventory (testTransformation.TestTransformation)

  testUNG                                            (2 errors)
   testERP5Site_createNewWebDocument (testUNG.TestUNG)

The following tests were at least partly skipped:

  testAccountingRules                                (26 skips)

  testBPMCore                                        (12 skips)

  testBPMEvaluation                                  (40 skips)
   done (7.083s)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                               (3 skips)

  testCRM                                            (2 skips)

  testDivergenceTester                               (5 skips)

  testDms                                            (2 skips)

  testDmsWithFlare                                   (2 skips)

  testDynamicClassGeneration                         (1 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)

  testItem                                           (8 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'

  testOpenOrder                                      (1 skips)

  testOrderBuilder                                   (4 skips)

  testPackingList                                    (16 skips)

  testPackingListRoundingPrecision                   (8 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testProxyField                                     (1 skips)

  testReturnedSalePackingList                        (3 skips)

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

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

  testTaskReportDivergence                           (4 skips)

  testTemplate                                       (1 skips)

  testWebDavSupport                                  (1 skips)

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

ERROR: test_AccountingTransaction_lineResetGroupingReference (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2882, in test_AccountingTransaction_lineResetGroupingReference
    payment_line.AccountingTransactionLine_resetGroupingReference()
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 15, in AccountingTransactionLine_resetGroupingReference
AttributeError: 'NoneType' object has no attribute 'getQuantityPrecision'


ERROR: test_Invoice_createRelatedPaymentTransactionRelatedInvoice (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2668, in test_Invoice_createRelatedPaymentTransactionRelatedInvoice
    'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDifferentSide (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2699, in test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDifferentSide
    'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_SourceDestinationReference (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2421, in test_SourceDestinationReference
    accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_SourceDestinationReferenceGroupAccounting (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2472, in test_SourceDestinationReferenceGroupAccounting
    accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_automatically_setting_grouping_reference (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2928, in test_automatically_setting_grouping_reference
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/accounting_module/30/line_for_grouping_reference', 'AccountingTransactionLine_resetGroupingReference', -2, 1)]
Last error message:
AttributeError
'NoneType' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, 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 1276, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 15, in AccountingTransactionLine_resetGroupingReference
   - <PythonScript at /erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/AccountingTransactionLine_resetGroupingReference used for /erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/accounting_module/30/line_for_grouping_reference>
   - Line 15
AttributeError: 'NoneType' object has no attribute 'getQuantityPrecision'



ERROR: test_automatically_setting_grouping_reference_in_one_invoice (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3111, in test_automatically_setting_grouping_reference_in_one_invoice
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/accounting_module/32/2', 'AccountingTransactionLine_resetGroupingReference', -2, 1), ('/erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/accounting_module/32/1', 'AccountingTransactionLine_resetGroupingReference', -2, 1)]
Last error message:
AttributeError
'NoneType' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, 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 1276, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 15, in AccountingTransactionLine_resetGroupingReference
   - <PythonScript at /erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/AccountingTransactionLine_resetGroupingReference used for /erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/accounting_module/32/2>
   - Line 15
AttributeError: 'NoneType' object has no attribute 'getQuantityPrecision'



ERROR: test_automatically_setting_grouping_reference_same_group (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2983, in test_automatically_setting_grouping_reference_same_group
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/accounting_module/35/line_for_grouping_reference', 'AccountingTransactionLine_resetGroupingReference', -2, 1)]
Last error message:
AttributeError
'NoneType' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, 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 1276, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 15, in AccountingTransactionLine_resetGroupingReference
   - <PythonScript at /erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/AccountingTransactionLine_resetGroupingReference used for /erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/accounting_module/35/line_for_grouping_reference>
   - Line 15
AttributeError: 'NoneType' object has no attribute 'getQuantityPrecision'



ERROR: test_automatically_unsetting_grouping_reference_when_cancelling (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3090, in test_automatically_unsetting_grouping_reference_when_cancelling
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/accounting_module/39/line_for_grouping_reference', 'AccountingTransactionLine_resetGroupingReference', -2, 1)]
Last error message:
AttributeError
'NoneType' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, 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 1276, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 15, in AccountingTransactionLine_resetGroupingReference
   - <PythonScript at /erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/AccountingTransactionLine_resetGroupingReference used for /erp5_portal_96cd3a89f03117f35b2ace129e48cbd6/accounting_module/39/line_for_grouping_reference>
   - Line 15
AttributeError: 'NoneType' object has no attribute 'getQuantityPrecision'



ERROR: test_AccountWorkflow (testAccounting.TestAccounts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 261, in test_AccountWorkflow
    doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_AccountingTransactionValidationRecursivePeriod (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 491, in test_AccountingTransactionValidationRecursivePeriod
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_AccountingTransactionValidationRefusedWithCategoriesAsSections (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 709, in test_AccountingTransactionValidationRefusedWithCategoriesAsSections
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_AccountingTransactionValidationStartDate (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 424, in test_AccountingTransactionValidationStartDate
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_AccountingWorkflow (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 728, in test_AccountingWorkflow
    doActionFor(accounting_transaction, 'plan_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_DestinationPaymentTransactionValidationDate (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 380, in test_DestinationPaymentTransactionValidationDate
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_NonBalancedAccountingTransaction (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 563, in test_NonBalancedAccountingTransaction
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_NonBalancedDestinationAccountingTransaction (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 588, in test_NonBalancedDestinationAccountingTransaction
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_NonBalancedDestinationAccountingTransactionNoAccount (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 613, in test_NonBalancedDestinationAccountingTransactionNoAccount
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_PaymentTransactionValidationCheckBankAccountPriceCurrency (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 541, in test_PaymentTransactionValidationCheckBankAccountPriceCurrency
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_PaymentTransactionValidationDate (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 360, in test_PaymentTransactionValidationDate
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_PaymentTransactionWithEmployee (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 515, in test_PaymentTransactionWithEmployee
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_PurchaseInvoiceTransactionValidationDate (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 341, in test_PurchaseInvoiceTransactionValidationDate
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_SaleInvoiceTransactionValidationDate (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 323, in test_SaleInvoiceTransactionValidationDate
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_UneededDestinationAssetPrice (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 838, in test_UneededDestinationAssetPrice
    doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_UneededSourceAssetPrice (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 798, in test_UneededSourceAssetPrice
    doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_UnusedSectionTransactionValidationDate (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 406, in test_UnusedSectionTransactionValidationDate
    self.portal.portal_workflow.doActionFor(accounting_transaction, 'stop_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in validateTransactionLines
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 18, in validateTransaction
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


FAIL: test_AccountingPeriodNotStoppedTransactions (testAccounting.TestAccountingWithSequences), Accounting Periods refuse to close when some transactions are
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4277, in test_AccountingPeriodNotStoppedTransactions
    """, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3258, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateCurrencies
      CreateEntities
      CreateAccounts
      CreateAccountingPeriod
      OpenAccountingPeriod
      Tic
      CreateInvoices
      Tic
    > CheckAccountingPeriodRefusesClosing
      Tic
      CheckInvoicesAreDraft
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3423, in stepCheckAccountingPeriodRefusesClosing
    accounting_period, 'stop_action' )
AssertionError: ValidationFailed not raised


FAIL: test_AccountingTransactionValidationAccounts (testAccounting.TestAccountingWithSequences), Transaction validation and accounts
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4354, in test_AccountingTransactionValidationAccounts
    stepValidateNoAccounts""", quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3258, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateClosedAccount
      CreateValidAccountingTransaction
      ValidateNoAccounts
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3908, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3880, in createAccountingTransaction
    "Check consistency failed : %s" % accounting_transaction.checkConsistency())
AssertionError: Check consistency failed : [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/12 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/12/receivable (message: Category existence error for base category destination_section, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/12/receivable (message: Category existence error for base category source_section, this document has no such category)>]


FAIL: test_AccountingTransactionValidationBalanced (testAccounting.TestAccountingWithSequences), Transaction validation and balance
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4365, in test_AccountingTransactionValidationBalanced
    stepValidateNotBalanced""", quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3258, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNotBalanced
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3908, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3880, in createAccountingTransaction
    "Check consistency failed : %s" % accounting_transaction.checkConsistency())
AssertionError: Check consistency failed : [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/13 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/13/receivable (message: Category existence error for base category destination_section, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/13/receivable (message: Category existence error for base category source_section, this document has no such category)>]


FAIL: test_AccountingTransactionValidationCurrency (testAccounting.TestAccountingWithSequences), Transaction validation and currency
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4341, in test_AccountingTransactionValidationCurrency
    stepValidateNoCurrency""", quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3258, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNoCurrency
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3908, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3880, in createAccountingTransaction
    "Check consistency failed : %s" % accounting_transaction.checkConsistency())
AssertionError: Check consistency failed : [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/14 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/14/receivable (message: Category existence error for base category destination_section, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/14/receivable (message: Category existence error for base category source_section, this document has no such category)>]


FAIL: test_AccountingTransactionValidationDate (testAccounting.TestAccountingWithSequences), Transaction validation and dates
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4318, in test_AccountingTransactionValidationDate
    stepValidateNoDate""", quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3258, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNoDate
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3908, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3880, in createAccountingTransaction
    "Check consistency failed : %s" % accounting_transaction.checkConsistency())
AssertionError: Check consistency failed : [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/15 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/15/receivable (message: Category existence error for base category destination_section, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/15/receivable (message: Category existence error for base category source_section, this document has no such category)>]


FAIL: test_AccountingTransactionValidationPayment (testAccounting.TestAccountingWithSequences), Transaction validation and payment
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4377, in test_AccountingTransactionValidationPayment
    """, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3258, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNoPayment
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3908, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3880, in createAccountingTransaction
    "Check consistency failed : %s" % accounting_transaction.checkConsistency())
AssertionError: Check consistency failed : [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/16 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/16/receivable (message: Category existence error for base category destination_section, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/16/receivable (message: Category existence error for base category source_section, this document has no such category)>]


FAIL: test_AccountingTransactionValidationRemoveEmptyLines (testAccounting.TestAccountingWithSequences), Transaction validation removes empty lines
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4389, in test_AccountingTransactionValidationRemoveEmptyLines
    """, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3258, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateRemoveEmptyLines
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3908, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3880, in createAccountingTransaction
    "Check consistency failed : %s" % accounting_transaction.checkConsistency())
AssertionError: Check consistency failed : [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/17 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/17/receivable (message: Category existence error for base category destination_section, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/17/receivable (message: Category existence error for base category source_section, this document has no such category)>]


FAIL: test_AccountingTransactionValidationSection (testAccounting.TestAccountingWithSequences), Transaction validation and section
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4330, in test_AccountingTransactionValidationSection
    stepValidateNoSection""", quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3258, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNoSection
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3908, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3880, in createAccountingTransaction
    "Check consistency failed : %s" % accounting_transaction.checkConsistency())
AssertionError: Check consistency failed : [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/18 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/18/receivable (message: Category existence error for base category destination_section, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/18/receivable (message: Category existence error for base category source_section, this document has no such category)>]


FAIL: test_Acquisition (testAccounting.TestAccountingWithSequences), Tests acquisition, categories and portal types are well
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4307, in test_Acquisition
    """, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3258, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateCurrencies
    > CheckAcquisition
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3793, in stepCheckAcquisition
    destination_section_value )
AssertionError: None != <Organisation at /erp5_portal_953cb7ad078ce697ea761be4ad21f055/organisation_module/37>


FAIL: test_createAccountingTransaction (testAccounting.TestAccountingWithSequences), Make sure acounting transactions created by createAccountingTransaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3887, in test_createAccountingTransaction
    accounting_transaction = self.createAccountingTransaction()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3880, in createAccountingTransaction
    "Check consistency failed : %s" % accounting_transaction.checkConsistency())
AssertionError: Check consistency failed : [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/24 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/24/receivable (message: Category existence error for base category destination_section, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/24/receivable (message: Category existence error for base category source_section, this document has no such category)>]


FAIL: test_Account_getDestinationSectionItemList (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3243, in test_Account_getDestinationSectionItemList
    self.portal.Account_getDestinationSectionItemList())
AssertionError: [('', ''), ('Organisation 1 (Organisation)', 'organisation_module/1')] != [('', '')]


FAIL: test_Invoice_createRelatedPaymentTransactionDifferentCurrency (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2768, in test_Invoice_createRelatedPaymentTransactionDifferentCurrency
    self.assertEquals(2, len(line_list))
AssertionError: 2 != 1


FAIL: test_Invoice_createRelatedPaymentTransactionDifferentSection (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2646, in test_Invoice_createRelatedPaymentTransactionDifferentSection
    self._checkRelatedSalePayment(invoice, payment, payment_node, 60)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2577, in _checkRelatedSalePayment
    eq(2, len(payment.getMovementList()))
AssertionError: 2 != 1


FAIL: test_Invoice_createRelatedPaymentTransactionGroupedLines (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2625, in test_Invoice_createRelatedPaymentTransactionGroupedLines
    self._checkRelatedSalePayment(invoice, payment, payment_node, 60)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2577, in _checkRelatedSalePayment
    eq(2, len(payment.getMovementList()))
AssertionError: 2 != 1


FAIL: test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDraft (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2746, in test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDraft
    self._checkRelatedSalePayment(invoice, payment, payment_node, 100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2577, in _checkRelatedSalePayment
    eq(2, len(payment.getMovementList()))
AssertionError: 2 != 1


FAIL: test_Invoice_createRelatedPaymentTransactionSimple (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2604, in test_Invoice_createRelatedPaymentTransactionSimple
    self._checkRelatedSalePayment(invoice, payment, payment_node, 100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2577, in _checkRelatedSalePayment
    eq(2, len(payment.getMovementList()))
AssertionError: 2 != 1


FAIL: test_automatically_setting_grouping_reference_same_section (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 3055, in test_automatically_setting_grouping_reference_same_section
    self.failIf(invoice_line.getGroupingReference())
AssertionError


FAIL: test_AccountValidation (testAccounting.TestAccounts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 249, in test_AccountValidation
    self.assertEquals(1, len(account.checkConsistency()))
AssertionError: 1 != 2


FAIL: test_AccountingPeriodWorkflow (testAccounting.TestClosingPeriod), Tests that accounting_period_workflow creates a balance transaction.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1522, in test_AccountingPeriodWorkflow
    self.assertEquals(1, len(balance_transaction_list))
AssertionError: 1 != 0


FAIL: test_BalanceTransactionDate (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2207, in test_BalanceTransactionDate
    node_uid=node_uid))
AssertionError: -100 != 0.0


FAIL: test_BalanceTransactionDateInInventoryAPI (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2261, in test_BalanceTransactionDateInInventoryAPI
    node_uid=node_uid))
AssertionError: 100 != 0.0


FAIL: test_BalanceTransactionLineBrainGetObject (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2073, in test_BalanceTransactionLineBrainGetObject
    node_uid=node_uid))
AssertionError: 100 != 0.0


FAIL: test_BalanceTransactionLineBrainGetObjectDifferentThirdParties (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2145, in test_BalanceTransactionLineBrainGetObjectDifferentThirdParties
    node_uid=node_uid,))
AssertionError: 130 != 0.0


FAIL: test_BalanceTransactionLineInventoryAPIParentPortalType (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2299, in test_BalanceTransactionLineInventoryAPIParentPortalType
    node_uid=node_uid))
AssertionError: 100 != 0.0


FAIL: test_IndexingBalanceTransactionLinesWithSameNodes (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2020, in test_IndexingBalanceTransactionLinesWithSameNodes
    node_uid=node_uid))
AssertionError: 180 != 0.0


FAIL: test_InventoryIndexingNodeAndMirrorSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1909, in test_InventoryIndexingNodeAndMirrorSection
    node_uid=node_uid))
AssertionError: 100 != 0.0


FAIL: test_InventoryIndexingNodeDiffOnNode (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1977, in test_InventoryIndexingNodeDiffOnNode
    node_uid=node_uid))
AssertionError: 150 != 0.0


FAIL: test_MultipleSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1562, in test_MultipleSection
    'stop_action')
AssertionError: ValidationFailed not raised


FAIL: test_MultipleSectionEmpty (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1722, in test_MultipleSectionEmpty
    self.assertEquals(1, len(created_balance_transaction_list))
AssertionError: 1 != 0


FAIL: test_MultipleSectionIndependant (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1651, in test_MultipleSectionIndependant
    self.assertEquals(1, len(created_balance_transaction_list))
AssertionError: 1 != 0


FAIL: test_ProfitAndLossUsedInPeriod (testAccounting.TestClosingPeriod), When the profit and loss account has a non zero balance at the end of
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1850, in test_ProfitAndLossUsedInPeriod
    self.assertEquals(1, len(balance_transaction_list))
AssertionError: 1 != 0


FAIL: test_SecondAccountingPeriod (testAccounting.TestClosingPeriod), Tests having two accounting periods.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1756, in test_SecondAccountingPeriod
    self.assertEquals(1, len(balance_transaction_list))
AssertionError: 1 != 0


FAIL: test_TemporaryClosing (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2337, in test_TemporaryClosing
    node_uid=self.account_module.receivable.getUid()))
AssertionError: 100 != 0.0


FAIL: test_createBalanceOnMirrorSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 979, in test_createBalanceOnMirrorSection
    self.assertEquals(3, len(accounting_transaction_list))
AssertionError: 3 != 2


FAIL: test_createBalanceOnMirrorSectionMultiCurrency (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1213, in test_createBalanceOnMirrorSectionMultiCurrency
    self.assertEquals(3, len(accounting_transaction_list))
AssertionError: 3 != 2


FAIL: test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1371, in test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection
    self.assertEquals(3, len(accounting_transaction_list))
AssertionError: 3 != 2


FAIL: test_createBalanceOnNode (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 887, in test_createBalanceOnNode
    self.assertEquals(3, len(accounting_transaction_list))
AssertionError: 3 != 2


FAIL: test_createBalanceOnPayment (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 1088, in test_createBalanceOnPayment
    self.assertEquals(3, len(accounting_transaction_list))
AssertionError: 3 != 2


FAIL: test_CancellationAmount (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 853, in test_CancellationAmount
    self.assertEquals([], accounting_transaction.checkConsistency())
AssertionError: [] != [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/7 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/7/1 (message: Category existence error for base category source, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/7/1 (message: Category existence error for base category destination_section, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/7/2 (message: Category existence error for base category source, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryAcquiredExistence on accounting_module/7/2 (message: Category existence error for base category destination_section, this document has no such category)>]


FAIL: test_NonBalancedAccountingTransactionDifferentSectionOnLines (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 657, in test_NonBalancedAccountingTransactionDifferentSectionOnLines
    accounting_transaction.checkConsistency())
AssertionError: [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/10 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for AccountingTransactionBalance on accounting_module/10 (message: Transaction is not balanced for Client 2)>]


FAIL: test_NonBalancedAccountingTransactionSectionOnLines (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 634, in test_NonBalancedAccountingTransactionSectionOnLines
    self.assertEquals([], accounting_transaction.checkConsistency())
AssertionError: [] != [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/11 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/11/2 (message: Category existence error for base category source, this document has no such category)>]


FAIL: test_NonBalancedAccountingTransactionSectionPersonOnLines (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 680, in test_NonBalancedAccountingTransactionSectionPersonOnLines
    self.assertEquals([], accounting_transaction.checkConsistency())
AssertionError: [] != [<ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/12 (message: Category existence error for base category resource, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryExistence on accounting_module/12/2 (message: Category existence error for base category source, this document has no such category)>]


ERROR: testAccountStatementFromDateSummaryEmpty (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1000, in testAccountStatementFromDateSummaryEmpty
    data_line_list[0].getColumnProperty('Movement_getSpecificReference'))
IndexError: list index out of range


FAIL: testAccountStatement (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 823, in testAccountStatement
    self.assertEquals(6, len(data_line_list))
AssertionError: 6 != 0


FAIL: testAccountStatementCancellationAmount (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1782, in testAccountStatementCancellationAmount
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testAccountStatementFromDateDetailedSummary (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1115, in testAccountStatementFromDateDetailedSummary
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testAccountStatementFromDateDetailedSummaryGroupedAtFromDate (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1259, in testAccountStatementFromDateDetailedSummaryGroupedAtFromDate
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testAccountStatementFromDateDetailedSummaryGroupedAtFromDateCase2 (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1339, in testAccountStatementFromDateDetailedSummaryGroupedAtFromDateCase2
    self.assertEquals(1, len(data_line_list))
AssertionError: 1 != 0


FAIL: testAccountStatementFromDateSummary (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 926, in testAccountStatementFromDateSummary
    self.assertEquals(5, len(data_line_list))
AssertionError: 5 != 0


FAIL: testAccountStatementMirrorSection (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1679, in testAccountStatementMirrorSection
    self.assertEquals(1, len(data_line_list))
AssertionError: 1 != 0


FAIL: testAccountStatementMultipleSection (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1916, in testAccountStatementMultipleSection
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testAccountStatementOverMultiplePeriodsForExpenseAccounts (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1624, in testAccountStatementOverMultiplePeriodsForExpenseAccounts
    self.assertEquals(3, len(data_line_list))
AssertionError: 3 != 0


FAIL: testAccountStatementPeriodDateAndInitialBalanceForExpenseAccounts (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1578, in testAccountStatementPeriodDateAndInitialBalanceForExpenseAccounts
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testAccountStatementPeriodDateAndInitialBalanceForStdAccounts (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1461, in testAccountStatementPeriodDateAndInitialBalanceForStdAccounts
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testAccountStatementPeriodDateEqualsFromDate (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1522, in testAccountStatementPeriodDateEqualsFromDate
    self.assertEquals(3, len(data_line_list))
AssertionError: 3 != 0


FAIL: testAccountStatementPeriodDateForExpenseAccounts (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1399, in testAccountStatementPeriodDateForExpenseAccounts
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testAccountStatementSameSectionSameNode (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1842, in testAccountStatementSameSectionSameNode
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testAccountStatementSimulationState (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 1721, in testAccountStatementSimulationState
    self.assertEquals(1, len(data_line_list))
AssertionError: 1 != 0


FAIL: testGeneralLedger (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3171, in testGeneralLedger
    self.assertEquals(6, len(report_section_list))
AssertionError: 6 != 1


FAIL: testGeneralLedgerFunction (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3466, in testGeneralLedgerFunction
    self.assertEquals(3, len(report_section_list))
AssertionError: 3 != 1


FAIL: testGeneralLedgerGAPFilter (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3408, in testGeneralLedgerGAPFilter
    self.assertEquals(2, len(report_section_list))
AssertionError: 2 != 1


FAIL: testGeneralLedgerMirrorSectionRole (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3614, in testGeneralLedgerMirrorSectionRole
    self.assertEquals(3, len(report_section_list))
AssertionError: 3 != 1


FAIL: testGeneralLedgerNoProject (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3515, in testGeneralLedgerNoProject
    self.assertEquals(3, len(report_section_list))
AssertionError: 3 != 1


FAIL: testGeneralLedgerProject (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3565, in testGeneralLedgerProject
    self.assertEquals(3, len(report_section_list))
AssertionError: 3 != 1


FAIL: testJournal (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 169, in testJournal
    self.assertEquals(9, len(data_line_list))
AssertionError: 9 != 0


FAIL: testJournalProject (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 511, in testJournalProject
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testJournalTransactionsWithoutThirdParty (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 343, in testJournalTransactionsWithoutThirdParty
    self.assertEquals(6, len(data_line_list))
AssertionError: 6 != 0


FAIL: testJournalWithBankAccount (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 470, in testJournalWithBankAccount
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testOtherPartiesReport (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3727, in testOtherPartiesReport
    self.assertEquals(1, len(report_section_list))
AssertionError: 1 != 0


FAIL: testTrialBalance (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2006, in testTrialBalance
    final_balance_if_debit=100, final_balance_if_credit=0,)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1181, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`final_debit_balance`: expected: 200 actual: 0.0
`final_balance_if_debit`: expected: 100 actual: 0.0
`credit`: expected: 100 actual: 0
`debit`: expected: 200 actual: 0
`final_credit_balance`: expected: 100 actual: 0.0


FAIL: testTrialBalanceAccountClassSummary (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2909, in testTrialBalanceAccountClassSummary
    self.assertEquals(4, len(data_line_list))
AssertionError: 4 != 0


FAIL: testTrialBalanceDifferentCurrencies (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2786, in testTrialBalanceDifferentCurrencies
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceExpandAccounts (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2074, in testTrialBalanceExpandAccounts
    self.assertEquals(6, len(data_line_list))
AssertionError: 6 != 0


FAIL: testTrialBalanceFunction (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3003, in testTrialBalanceFunction
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceGAPFilter (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2830, in testTrialBalanceGAPFilter
    self.assertEquals(4, len(data_line_list))
AssertionError: 4 != 0


FAIL: testTrialBalanceInitialBalance (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2279, in testTrialBalanceInitialBalance
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceInitialBalanceBalanceTransaction (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2495, in testTrialBalanceInitialBalanceBalanceTransaction
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceInitialBalanceBalanceTransactionDifferentFromDate (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2563, in testTrialBalanceInitialBalanceBalanceTransactionDifferentFromDate
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceInitialBalanceMultiMirrorSectionExpandAccount (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2344, in testTrialBalanceInitialBalanceMultiMirrorSectionExpandAccount
    self.assertEquals(4, len(data_line_list))
AssertionError: 4 != 0


FAIL: testTrialBalanceInitialBalanceMultiMirrorSectionNoExpandAccount (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2426, in testTrialBalanceInitialBalanceMultiMirrorSectionNoExpandAccount
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceInitialBalancePeriodStartDateBalanceTransaction (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2713, in testTrialBalanceInitialBalancePeriodStartDateBalanceTransaction
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceInitialBalanceWithPeriod (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2644, in testTrialBalanceInitialBalanceWithPeriod
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceMirrorSectionRole (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3133, in testTrialBalanceMirrorSectionRole
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceNoProject (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3089, in testTrialBalanceNoProject
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalancePortalType (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2961, in testTrialBalancePortalType
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalancePreviousPeriod (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 2193, in testTrialBalancePreviousPeriod
    self.assertEquals(5, len(data_line_list))
AssertionError: 5 != 0


FAIL: testTrialBalanceProject (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3046, in testTrialBalanceProject
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testAccountStatementAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 4012, in testAccountStatementAnalyticsHidden
    self.assertEquals(1, len(data_line_list))
AssertionError: 1 != 0


FAIL: testAccountStatementAnalyticsShown (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3958, in testAccountStatementAnalyticsShown
    self.assertEquals(3, len(data_line_list))
AssertionError: 3 != 0


FAIL: testGeneralLedgerAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 4102, in testGeneralLedgerAnalyticsHidden
    self.assertEquals(3, len(report_section_list))
AssertionError: 3 != 1


FAIL: testGeneralLedgerAnalyticsShown (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 4043, in testGeneralLedgerAnalyticsShown
    self.assertEquals(3, len(report_section_list))
AssertionError: 3 != 1


FAIL: testJournalAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3919, in testJournalAnalyticsHidden
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testJournalAnalyticsShown (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 3860, in testJournalAnalyticsShown
    self.assertEquals(4, len(data_line_list))
AssertionError: 4 != 0


FAIL: testTrialBalanceGroupByFunction (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 4205, in testTrialBalanceGroupByFunction
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceGroupByProductLine (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 4321, in testTrialBalanceGroupByProductLine
    self.assertEquals(1, len(data_line_list))
AssertionError: 1 != 0


FAIL: testTrialBalanceGroupByProject (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 4160, in testTrialBalanceGroupByProject
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: testTrialBalanceGroupByProjectAndFunction (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccountingReports.py", line 4250, in testTrialBalanceGroupByProjectAndFunction
    self.assertEquals(3, len(data_line_list))
AssertionError: 3 != 0


FAIL: test_AccountTypeConstaintFixFor4718 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 219, in test_AccountTypeConstaintFixFor4718
    self.assertEquals(1, len(account.checkConsistency(fixit=1)))
AssertionError: 1 != 3


FAIL: test_AccountTypeConstaintFixFor4721 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 225, in test_AccountTypeConstaintFixFor4721
    self.assertEquals(1, len(account.checkConsistency(fixit=1)))
AssertionError: 1 != 3


FAIL: test_AccountTypeConstaintFixFor4731 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 231, in test_AccountTypeConstaintFixFor4731
    self.assertEquals(1, len(account.checkConsistency(fixit=1)))
AssertionError: 1 != 3


FAIL: test_AccountTypeConstaintFixFor4735 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 237, in test_AccountTypeConstaintFixFor4735
    self.assertEquals(1, len(account.checkConsistency(fixit=1)))
AssertionError: 1 != 3


FAIL: test_AccountTypeConstaintFixForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 210, in test_AccountTypeConstaintFixForClass4
    self.assertEquals(1, len(account.checkConsistency(fixit=1)))
AssertionError: 1 != 3


FAIL: test_AccountTypeConstaintFixForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 179, in test_AccountTypeConstaintFixForExpense
    self.assertEquals(1, len(account.checkConsistency(fixit=1)))
AssertionError: 1 != 3


FAIL: test_AccountTypeConstaintFixForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 192, in test_AccountTypeConstaintFixForPayable
    self.assertEquals(1, len(account.checkConsistency(fixit=1)))
AssertionError: 1 != 3


FAIL: test_AccountTypeConstaintForClass4 (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 200, in test_AccountTypeConstaintForClass4
    self.assertEquals([], account.checkConsistency())
AssertionError: [] != [<ERP5Type.ConsistencyMessage for CategoryExistence on account_module/class4_account (message: Category existence error for base category account_type, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryExistence on account_module/class4_account (message: Category existence error for base category gap, this document has no such category)>]


FAIL: test_AccountTypeConstaintForExpense (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 173, in test_AccountTypeConstaintForExpense
    self.assertEquals([], account.checkConsistency())
AssertionError: [] != [<ERP5Type.ConsistencyMessage for CategoryExistence on account_module/account (message: Category existence error for base category account_type, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryExistence on account_module/account (message: Category existence error for base category gap, this document has no such category)>]


FAIL: test_AccountTypeConstaintForPayable (testAccounting_l10n_fr_m9.TestAccounting_l10n_M9)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testAccounting_l10n_fr_m9.py", line 186, in test_AccountTypeConstaintForPayable
    self.assertEquals([], account.checkConsistency())
AssertionError: [] != [<ERP5Type.ConsistencyMessage for CategoryExistence on account_module/payable_account (message: Category existence error for base category account_type, this document has no such category)>, <ERP5Type.ConsistencyMessage for CategoryExistence on account_module/payable_account (message: Category existence error for base category gap, this document has no such category)>]


ERROR: test_01_TwoInvoicesFromTwoPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_02_InvoiceDeletePackingListLine (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_03_InvoiceDecreaseQuantity (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_04_InvoiceChangeStartDateFail (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_05_AcceptDecisionOnPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_06_AcceptDecisionOnPackingListAndInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_07_SplitAndDeferInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_08_AcceptDecisionOnInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_09_Reference (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_10_ManuallyAddedMovements (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_11_ManuallyAddedMovementsManyTransactions (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_12_compareInvoiceAndPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_13_acceptQuantityDivergenceOnInvoiceWithStartedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Accept divergence with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedSaleInvoice), Adopt quantity with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedSaleInvoice), test creating simple invoice and accounting transaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_InvoiceViewAsODT (testAdvancedInvoicing.TestAdvancedSaleInvoice), Create ODT printout
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testAdvancedInvoicing.py", line 398, in afterSetUp
    super(TestAdvancedSaleInvoice, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_AcceptQuantityDivergenceOnInvoiceWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Accept divergence with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_AdoptQuantityDivergenceOnInvoiceLineWithStoppedPackingList (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Adopt quantity with stopped packing list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_CreatingAccountingTransactionThroughInvoice (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), test creating simple invoice and accounting transaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_InvoiceViewAsODT (testAdvancedInvoicing.TestAdvancedPurchaseInvoice), Create ODT printout
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_PackingListEditAndInvoiceRule (testAdvancedInvoicing.TestAdvancedPurchaseInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


FAIL: test_01_getAggregatedAmountList (testApparelTransformation.TestApparelTransformation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testApparelTransformation.py", line 752, in test_01_getAggregatedAmountList
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateComponentDict
      CreateOperationDict
      Tic
      CreateVariatedResource
      Tic
      CreateTransformation
      Tic
      CreateTransformationLine
      Tic
      CreateIncludedTransformation
      Tic
      CreateIncludedTransformationLine
      Tic
    > VerifyTransformationAggregatedAmountList
      VerifyIncludedTransformationAggregatedAmountList
      IncludeTransformation
      Tic
      VerifySpecialisedTransformationAggregatedAmountList
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testApparelTransformation.py", line 473, in stepVerifyTransformationAggregatedAmountList
    self.verifyAggregatedAmountList(transformation, expected_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testApparelTransformation.py", line 672, in verifyAggregatedAmountList
    self.failIf(error, error_msg)
AssertionError: Total price differs between expected (0.1) and aggregated (None) Amounts (resource : None, id_categories : ('size/Baby', 'colour/apparel_model_module/1/1', 'morphology/apparel_model_module/1/4'), amount.categories : ['variation/apparel_component_module/1/1', 'base_application/produced_quantity', 'causality/transformation_module/1/2', 'causality/transformation_module/1/2/variation_0'])


ERROR: test_Archive (testArchive.TestArchive)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Catalog/tests/testArchive.py", line 255, in test_Archive
    clear_archive_sql_catalog=True)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Catalog/Tool/ArchiveTool.py", line 140, in manage_archive
    raise ValueError, "Unable to determine connection id for the current catalog"
ValueError: Unable to determine connection id for the current catalog


FAIL: test_all_other_and_strict_consumption (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 540, in test_all_other_and_strict_consumption
    budget_line.getConsumedBudgetDict())
AssertionError: {('source/budget_special_node/all_other', 'account_type/asset'): -100.0, ('source/account_module/goods_purchase', 'account_type/expense'): 100.0} != {}


FAIL: test_budget_consumption_report (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 1463, in test_budget_consumption_report
    self.assertEquals(100, line_list[2]['consumed_budget'])
AssertionError: 100 != 0


FAIL: test_consumption_category_budget_variation_not_set (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 1287, in test_consumption_category_budget_variation_not_set
    budget_line.getConsumedBudgetDict())
AssertionError: {('source/account_module/goods_purchase',): 100.0} != {}


FAIL: test_consumption_category_variation_summary (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 1112, in test_consumption_category_variation_summary
    budget_line.getConsumedBudgetDict())
AssertionError: {('group/demo_group', 'source/account_module/goods_purchase'): 100.0, ('group/demo_group/sub1', 'source/account_module/goods_purchase'): 100.0} != {}


FAIL: test_consumption_movement_category (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 1006, in test_consumption_movement_category
    budget_line.getConsumedBudgetDict())
AssertionError: {('source/account_module/fixed_assets', 'product_line/1'): -100.0, ('source/account_module/goods_purchase', 'product_line/1'): 100.0, ('source/account_module/fixed_assets', 'product_line/1/1.2'): -100.0, ('source/account_module/goods_purchase', 'product_line/1/1.1'): 100.0} != {}


FAIL: test_consumption_node_budget_variation_not_set (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 1200, in test_consumption_node_budget_variation_not_set
    budget_line.getConsumedBudgetDict())
AssertionError: {('group/demo_group/sub1',): 0.0} != {}


FAIL: test_none_and_all_others_virtual_nodes_together (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 869, in test_none_and_all_others_virtual_nodes_together
    }, budget_line.getConsumedBudgetDict())
AssertionError: {('source_project/budget_special_node/none',): -120.0, ('source_project/budget_special_node/all_other',): -80.0, ('source_project/organisation_module/my_organisation',): 200.0} != {}


FAIL: test_none_virtual_node (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 654, in test_none_virtual_node
    }, budget_line.getConsumedBudgetDict())
AssertionError: {('source_project/budget_special_node/none',): -300.0, ('source_project/organisation_module/my_organisation',): 200.0} != {}


FAIL: test_only_none_virtual_node (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 762, in test_only_none_virtual_node
    }, budget_line.getConsumedBudgetDict())
AssertionError: {('source_project/budget_special_node/none',): -300.0} != {}


FAIL: test_simple_consumption (testBudget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBudget.py", line 417, in test_simple_consumption
    budget_line.getConsumedBudgetDict())
AssertionError: {('source/account_module/fixed_assets', 'account_type/asset'): -100.0, ('source/account_module/goods_purchase', 'account_type/expense'): 100.0} != {}


ERROR: test_type_provider_2 (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testBusinessTemplate.py", line 7018, in test_type_provider_2
    self.stepTic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 533, in stepTic
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a7c58c31d094d0959dd3f3f4d6a139cc/portal_templates/104', 'immediateReindexObject', -2, 1), ('/erp5_portal_a7c58c31d094d0959dd3f3f4d6a139cc/portal_templates/106', 'immediateReindexObject', -2, 1), ('/erp5_portal_a7c58c31d094d0959dd3f3f4d6a139cc/test_document', 'immediateReindexObject', -2, 1), ('/erp5_portal_a7c58c31d094d0959dd3f3f4d6a139cc/portal_templates/107', 'immediateReindexObject', -2, 1)]
Last error message:
BrokenModified
Can't change broken objects
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1248, in invokeGroup
  Module Products.ERP5Catalog.CatalogTool, line 769, in catalogObjectList
  Module Products.ZSQLCatalog.ZSQLCatalog, line 835, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1370, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1402, in _catalogObjectList
  Module Products.ERP5Catalog.CatalogTool, line 73, in <lambda>
  Module Products.ERP5Type.Base, line 1943, in getUid
  Module ZODB.broken, line 317, in __setattr__
BrokenModified: Can't change broken objects



FAIL: test_05_SingleAcquisition (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFCategory/tests/testCMFCategory.py", line 242, in test_05_SingleAcquisition
    self.assertEqual(p1.getRegion(),self.region1)
AssertionError: None != 'europe/west/france'


FAIL: test_06_ListAcquisition (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFCategory/tests/testCMFCategory.py", line 261, in test_06_ListAcquisition
    self.assertEqual(p1.getRegion(),self.region1)
AssertionError: None != 'europe/west/france'


FAIL: test_11_ParentAcquisition (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFCategory/tests/testCMFCategory.py", line 341, in test_11_ParentAcquisition
    self.assertEqual(sub_person.getRegion(),self.region1)
AssertionError: None != 'europe/west/france'


FAIL: test_21_AcquiredPortalType (testCMFCategory.TestCMFCategory), Test if acquired_portal_type works correctly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFCategory/tests/testCMFCategory.py", line 658, in test_21_AcquiredPortalType
    self.assertEquals(packing_list.getDestinationAdministrationPersonTitle(), 'toto')
AssertionError: None != 'toto'


FAIL: test_isAcquiredMemberOf (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFCategory/tests/testCMFCategory.py", line 226, in test_isAcquiredMemberOf
    self.failUnless(sub_person.isAcquiredMemberOf(region_path))
AssertionError


FAIL: test_parentAcquisitionIsMemberOf (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/CMFCategory/tests/testCMFCategory.py", line 348, in test_parentAcquisitionIsMemberOf
    self.failUnless(sub_person.isMemberOf('region/%s' % self.region1))
AssertionError


FAIL: test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testCacheTool.py", line 508, in test_06_CheckCacheExpiration
    self.assertTrue(calculation_time > 1.0)
AssertionError


FAIL: test_GroupCalendarConstraint (testCalendar.TestCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testCalendar.py", line 750, in test_GroupCalendarConstraint
    self.assertEquals(1, len(group_calendar.checkConsistency()))
AssertionError: 1 != 0


FAIL: test_LeaveRequestCalendarConstraint (testCalendar.TestCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testCalendar.py", line 766, in test_LeaveRequestCalendarConstraint
    self.assertEquals(2, len(leave_request.checkConsistency()))
AssertionError: 2 != 0


FAIL: test_PersonModule_viewLeaveRequestReport (testCalendar.TestCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testCalendar.py", line 1430, in test_PersonModule_viewLeaveRequestReport
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 0


FAIL: test_PresenceRequestCalendarConstraint (testCalendar.TestCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testCalendar.py", line 785, in test_PresenceRequestCalendarConstraint
    self.assertEquals(2, len(presence_request.checkConsistency()))
AssertionError: 2 != 0


ERROR: test_OverrideMessage (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1421, in test_OverrideMessage
    ''')
TypeError: _addPropertySheet() got an unexpected keyword argument 'property_sheet_code'


ERROR: test_PropertyTypeValidityFixLocalPropertiesContent (testConstraint.TestConstraint), Tests PropertyTypeValidity can repairs local property of type content
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1239, in test_PropertyTypeValidityFixLocalPropertiesContent
    'mode':       'w', }''')
TypeError: _addProperty() takes exactly 4 arguments (3 given)


ERROR: test_PropertyTypeValidityFixLocalPropertiesFloat (testConstraint.TestConstraint), Tests PropertyTypeValidity can repairs local property when this property
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1215, in test_PropertyTypeValidityFixLocalPropertiesFloat
    "{'id': 'local_property', 'type': 'float'}")
TypeError: _addProperty() takes exactly 4 arguments (3 given)


ERROR: test_PropertyTypeValidityFixLocalPropertiesForCategories (testConstraint.TestConstraint), Tests PropertyTypeValidity can repairs categories when this property
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1268, in test_PropertyTypeValidityFixLocalPropertiesForCategories
    '''class TestPropertySheet: _categories=('testing_category',)''')
TypeError: _addPropertySheet() got an unexpected keyword argument 'property_sheet_code'


ERROR: test_PropertyTypeValidityFixLocalPropertiesString (testConstraint.TestConstraint), Tests PropertyTypeValidity can repairs local property when this property
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1195, in test_PropertyTypeValidityFixLocalPropertiesString
    "{'id': 'local_property', 'type': 'string'}")
TypeError: _addProperty() takes exactly 4 arguments (3 given)


ERROR: test_PropertyTypeValidityForMultivaluedProperty (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1486, in test_PropertyTypeValidityForMultivaluedProperty
    'mode':       'w', }''')
TypeError: _addProperty() takes exactly 4 arguments (3 given)


ERROR: test_PropertyTypeValidityWithUnauthorizedCategory (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1448, in test_PropertyTypeValidityWithUnauthorizedCategory
    ''')
TypeError: _addPropertySheet() got an unexpected keyword argument 'property_sheet_code'


ERROR: test_RegisterWithPropertySheet (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 1398, in test_RegisterWithPropertySheet
    ''')
TypeError: _addPropertySheet() got an unexpected keyword argument 'property_sheet_code'


FAIL: test_05_CategoryExistence (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 737, in test_05_CategoryExistence
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateObject
      SetObjectGroup
      CreateCategoryExistence2
      Tic
      CallCheckConsistency
    > CheckIfConstraintSucceeded
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testConstraint.py", line 278, in stepCheckIfConstraintSucceeded
    "error_list : %s" % [x.message for x in error_list])
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 487, in failIfDifferentSet
    self.assertEquals(set(a), set(b), msg)
AssertionError: error_list : ['Category existence error for base category ${base_category}, this document has no such category']


ERROR: test_01_delivery_mode_on_sale_packing_list_and_invoice (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 126, in afterSetUp
    self.createAndValidateAccounts()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 178, in createAndValidateAccounts
    self.portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_01_destination_total_asset_price_on_accounting_lines (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 126, in afterSetUp
    self.createAndValidateAccounts()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 178, in createAndValidateAccounts
    self.portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_01_diverged_purchase_packing_list_source_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 126, in afterSetUp
    self.createAndValidateAccounts()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 178, in createAndValidateAccounts
    self.portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_01_diverged_sale_packing_list_destination_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 126, in afterSetUp
    self.createAndValidateAccounts()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 178, in createAndValidateAccounts
    self.portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_01_quantity_unit_on_sale_packing_list (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 126, in afterSetUp
    self.createAndValidateAccounts()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 178, in createAndValidateAccounts
    self.portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_01_simulation_movement_destination_asset_price (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 126, in afterSetUp
    self.createAndValidateAccounts()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 178, in createAndValidateAccounts
    self.portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_01_simulation_movement_source_asset_price (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 126, in afterSetUp
    self.createAndValidateAccounts()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testConversionInSimulation.py", line 178, in createAndValidateAccounts
    self.portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_01_disconnectsCausesError (testDeferredConnection.TestDeferredConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1066, in tearDown
    message_list = portal_activities.getMessageList()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/ActivityTool.py", line 1392, in getMessageList
    message_list += activity.getMessageList(aq_inner(self),**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFActivity/Activity/SQLBase.py", line 85, in getMessageList
    include_processing=include_processing)]
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDA/db.py", line 441, in query
    self._use_TM and self._register()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/patches/TM.py", line 25, in TM__register
    transaction.get().register(Surrogate(self))
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 299, in register
    self.join(adapter)
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "/home/jm/erp5-2.12/bin/python2.6", line 159, in <module>
    _val, {}, "__main__", alter_sys=True)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 136, in run_module
    fname, loader, pkg_name)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 54, in _run_module_code
    mod_loader, pkg_name)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 748, in <module>
    sys.exit(main())
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 731, in main
    run_only=run_only,
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 536, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/jm/slave/full.ERP5_z212/build/Products/ERP5Type/tests/backportUnittest.py", line 270, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 559, in __call__
    self.run(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDDA/tests/testDeferredConnection.py", line 147, in test_01_disconnectsCausesError
    transaction.commit()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 424, in _commitResources
    rm.tpc_finish(self)
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 524, in tpc_finish
    self.manager.tpc_finish(txn)
  File "/home/jm/erp5-2.12/eggs/Products.ZSQLMethods-2.13.3-py2.6.egg/Shared/DC/ZRDB/TM.py", line 60, in tpc_finish
    try: self._finish()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDDA/db.py", line 438, in _finish
    self._query("SELECT 1", force_reconnect=True)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDDA/tests/testDeferredConnection.py", line 61, in fake_db_query
    raise OperationalError, (hosed_connection[0], 'dummy exception')
OperationalError: (2006, 'dummy exception')



ERROR: test_02_disconnectionRobustness (testDeferredConnection.TestDeferredConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 804, in setUp
    use_dummy_mail_host=use_dummy_mail_host)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 926, in setUpERP5Site
    app.test_portal_name = portal_name
  File "/home/jm/erp5-2.12/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1003, in register
    self._register(obj)
  File "/home/jm/erp5-2.12/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1013, in _register
    self.transaction_manager.get().join(self)
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "/home/jm/erp5-2.12/bin/python2.6", line 159, in <module>
    _val, {}, "__main__", alter_sys=True)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 136, in run_module
    fname, loader, pkg_name)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 54, in _run_module_code
    mod_loader, pkg_name)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 748, in <module>
    sys.exit(main())
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 731, in main
    run_only=run_only,
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 536, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/jm/slave/full.ERP5_z212/build/Products/ERP5Type/tests/backportUnittest.py", line 270, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 559, in __call__
    self.run(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDDA/tests/testDeferredConnection.py", line 147, in test_01_disconnectsCausesError
    transaction.commit()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 424, in _commitResources
    rm.tpc_finish(self)
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 524, in tpc_finish
    self.manager.tpc_finish(txn)
  File "/home/jm/erp5-2.12/eggs/Products.ZSQLMethods-2.13.3-py2.6.egg/Shared/DC/ZRDB/TM.py", line 60, in tpc_finish
    try: self._finish()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDDA/db.py", line 438, in _finish
    self._query("SELECT 1", force_reconnect=True)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ZMySQLDDA/tests/testDeferredConnection.py", line 61, in fake_db_query
    raise OperationalError, (hosed_connection[0], 'dummy exception')
OperationalError: (2006, 'dummy exception')



ERROR: test_01_IfNested (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 63, in afterSetUp
    TestSaleInvoiceMixin.afterSetUp(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 63, in afterSetUp
    TestSaleInvoiceMixin.afterSetUp(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 63, in afterSetUp
    TestSaleInvoiceMixin.afterSetUp(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


ERROR: test_04_MergingMultipleSaleOrders (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 63, in afterSetUp
    TestSaleInvoiceMixin.afterSetUp(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testInvoice.py", line 122, in afterSetUp
    self.createBusinessProcess()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testInvoice.py", line 178, in createBusinessProcess
    portal.portal_workflow.doActionFor(account, 'validate_action')
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
    wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
  File "/home/jm/erp5-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
    res = func(*args, **kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/home/jm/erp5-2.12/eggs/Products.DCWorkflow-2.2.1nxd001-py2.6.egg/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/patches/DCWorkflow.py", line 337, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in Account_Validate
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>, <ERP5Type.Message.Message for 'Category existence error for base category ${base_category}, this document has no such category'>]


FAIL: test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5OOo/tests/testDms.py", line 2228, in test_base_convertable_behaviour_with_successive_updates
    'base data is not refreshed')
AssertionError: base data is not refreshed


FAIL: test_base_convertable_behaviour_with_successive_updates (testDmsWithFlare.TestDocumentWithFlare), Check that update content's document (with setData and setFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 2228, in test_base_convertable_behaviour_with_successive_updates
    'base data is not refreshed')
AssertionError: base data is not refreshed


FAIL: test_07_NonLeftJoinModeOfSearchPredicateList (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testDomainTool.py", line 530, in test_07_NonLeftJoinModeOfSearchPredicateList
    1)
AssertionError: 2 != 1


FAIL: testCategoryExistenceConstraint (testDynamicClassGeneration.TestZodbPropertySheet)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testDynamicClassGeneration.py", line 889, in testCategoryExistenceConstraint
    'sub_category1')
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testDynamicClassGeneration.py", line 868, in _checkConstraint
    self.assertEquals([], constraint.checkConsistency(self.test_module))
AssertionError: [] != [<ERP5Type.ConsistencyMessage for Temp Category Existence Constraint on Test Migration (message: Category existence error for base category test_category_property_constraint, this document has no such category)>]


FAIL: test_02_Person (testERP5Base.TestERP5Base)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5Base.py", line 837, in test_02_Person
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreatePerson
      CreateOrganisation
    > SetPersonCareer
      CheckPersonCareer
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5Base.py", line 541, in stepSetPersonCareer
    self.failUnless(person in function_object.getFunctionRelatedValueList())
AssertionError


FAIL: test_03_Subordination (testERP5Base.TestERP5Base)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5Base.py", line 853, in test_03_Subordination
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreatePerson
      CreateOrganisation
    > SetPersonCareer
      AddCareerStepInAnotherOrganisation
      CheckCareerSubordination
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5Base.py", line 541, in stepSetPersonCareer
    self.failUnless(person in function_object.getFunctionRelatedValueList())
AssertionError


FAIL: test_04_SubordinationAndAddress (testERP5Base.TestERP5Base)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5Base.py", line 869, in test_04_SubordinationAndAddress
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreatePerson
      CreateOrganisation
      SetOrganisationAddress
    > SetPersonCareer
      CheckChangePersonAddress
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5Base.py", line 541, in stepSetPersonCareer
    self.failUnless(person in function_object.getFunctionRelatedValueList())
AssertionError


FAIL: test_SubordinationAcquisition (testERP5Base.TestERP5Base)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5Base.py", line 885, in test_SubordinationAcquisition
    person.getRoleValue())
AssertionError: <Category at /erp5_portal_573dbe939c3398e8fdc7767f83a1ee6a/portal_categories/role/client> != None


FAIL: test_SubordinationAcquisitionAndFunction (testERP5Base.TestERP5Base)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5Base.py", line 1233, in test_SubordinationAcquisitionAndFunction
    self.assertEquals(person.getFunctionValue(), function_node)
AssertionError: None != <Category at /erp5_portal_573dbe939c3398e8fdc7767f83a1ee6a/portal_categories/function/function_node>


FAIL: test_39_DeferredConnection (testERP5Catalog.TestERP5Catalog), ERP5Catalog uses a deferred connection for full text indexing.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1250, in test_39_DeferredConnection
    method).connection_id)
AssertionError: 'erp5_sql_deferred_connection' != 'erp5_sql_connection'


FAIL: test_getAcquiredCategoryList (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testERP5Category.py", line 336, in test_getAcquiredCategoryList
    self.assertEquals(['test_aq_category/1'], subdoc.getAcquiredCategoryList())
AssertionError: ['test_aq_category/1'] != []


FAIL: test_Folder_delete_related_object (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testERP5Core.py", line 445, in test_Folder_delete_related_object
    self.assertEqual(2, organisation.getRelationCountForDeletion())
AssertionError: 2 != 1


FAIL: test_manager_actions_on_portal (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testERP5Core.py", line 247, in test_manager_actions_on_portal
    self.check_actions(self.portal, expected)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testERP5Core.py", line 220, in check_actions
    self.assertEquals(expected, got, msg)
AssertionError: Actions do not match. Expected:
{'folder': [],
 'global': [{'id': 'bt_tool', 'title': 'Manage Business Templates'},
            {'id': 'category_tool', 'title': 'Configure Categories'},
            {'id': 'create_module', 'title': 'Create Module'},
            {'id': 'types_tool', 'title': 'Configure Portal Types'},
            {'id': 'property_sheet_tool',
             'title': 'Configure Property Sheets'},
            {'id': 'undo', 'title': 'Undo'}],
 'object': [],
 'object_action': [{'id': 'post_query', 'title': 'Post a Query'}],
 'object_jump': [{'id': 'jump_query', 'title': 'Queries'}],
 'object_search': [{'id': 'search', 'title': 'Search'}],
 'object_sort': [{'id': 'sort_on', 'title': 'Sort'}],
 'object_ui': [{'id': 'list_ui', 'title': 'Modify UI'}],
 'object_view': [{'id': 'history', 'title': 'History'},
                 {'id': 'metadata', 'title': 'Metadata'}],
 'user': [{'id': 'preferences', 'title': 'Preferences'},
          {'id': 'logout', 'title': 'Log out'}],
 'workflow': []}

Got:
{'folder': [],
 'global': [{'id': 'persons to validate (1)',
             'title': 'Persons to Validate (1)'},
            {'id': 'organisations to validate (1)',
             'title': 'Organisations to Validate (1)'},
            {'id': 'bt_tool', 'title': 'Manage Business Templates'},
            {'id': 'category_tool', 'title': 'Configure Categories'},
            {'id': 'create_module', 'title': 'Create Module'},
            {'id': 'types_tool', 'title': 'Configure Portal Types'},
            {'id': 'property_sheet_tool',
             'title': 'Configure Property Sheets'},
            {'id': 'undo', 'title': 'Undo'}],
 'object': [],
 'object_action': [{'id': 'post_query', 'title': 'Post a Query'}],
 'object_jump': [{'id': 'jump_query', 'title': 'Queries'}],
 'object_search': [{'id': 'search', 'title': 'Search'}],
 'object_sort': [{'id': 'sort_on', 'title': 'Sort'}],
 'object_ui': [{'id': 'list_ui', 'title': 'Modify UI'}],
 'object_view': [{'id': 'history', 'title': 'History'},
                 {'id': 'metadata', 'title': 'Metadata'}],
 'user': [{'id': 'preferences', 'title': 'Preferences'},
          {'id': 'logout', 'title': 'Log out'}],
 'workflow': []}



FAIL: test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testERP5Core.py", line 304, in test_view_tools
    "%s: %s" % (tool, response.getStatus()))
AssertionError: portal_categories: 503


ERROR: test_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 490, in test_CreateCELWithNoBasePrice
    form_id='view')
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 25, in AccountingTransaction_convertDestinationPrice
AttributeError: 'NoneType' object has no attribute 'getPrice'


ERROR: test_CreateCELWithNoReferenceCurrency (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 427, in test_CreateCELWithNoReferenceCurrency
    form_id='view')
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 25, in AccountingTransaction_convertDestinationPrice
AttributeError: 'NoneType' object has no attribute 'getPrice'


ERROR: test_CreateEmptyCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 218, in test_CreateEmptyCurrencyExchangeLineForDestination
    form_id='view')
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 25, in AccountingTransaction_convertDestinationPrice
AttributeError: 'NoneType' object has no attribute 'getPrice'


ERROR: test_DateOfCurrencyExchangeLineNotDateofTransaction (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 357, in test_DateOfCurrencyExchangeLineNotDateofTransaction
    form_id='view')
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 25, in AccountingTransaction_convertDestinationPrice
AttributeError: 'NoneType' object has no attribute 'getPrice'


ERROR: test_NoCurrencyExchangeLineForResourceCurrency (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 306, in test_NoCurrencyExchangeLineForResourceCurrency
    form_id='view')
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 25, in AccountingTransaction_convertDestinationPrice
AttributeError: 'NoneType' object has no attribute 'getPrice'


ERROR: test_UseCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 153, in test_UseCurrencyExchangeLineForDestination
    invoice.AccountingTransaction_convertDestinationPrice(form_id='view')
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 25, in AccountingTransaction_convertDestinationPrice
AttributeError: 'NoneType' object has no attribute 'getPrice'


ERROR: test_UseCurrencyExchangeLineForSource (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 265, in test_UseCurrencyExchangeLineForSource
    form_id='view')
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1276, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 22, in AccountingTransaction_convertSourcePrice
AttributeError: 'NoneType' object has no attribute 'getPrice'


FAIL: test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 946, in test_08_MultiNodeConflict
    self.assertXMLViewIsEqual(self.sub_id1, document_s, document_c1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 565, in assertXMLViewIsEqual
    etree.tostring(result, pretty_print=True)))
AssertionError: diff between document_server/2 and document_client1/2 
xupdate:
<xupdate:modifications xmlns:xupdate="http://www.xmldb.org/xupdate" version="1.0">
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/base_data/block_data[166]"/>
  <xupdate:insert-after select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/base_data/block_data[71]">
    <xupdate:element name="block_data">aWNlLm9yZy8zLjIkVW5peCBPcGVuT2ZmaWNlLm9yZ19wcm9qZWN0LzMyMG0xOCRCdWlsZC05NTAyPC9t</xupdate:element>
  </xupdate:insert-after>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='processing_status_workflow'][4]"/>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='processing_status_workflow'][5]"/>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='processing_status_workflow'][6]"/>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='edit_workflow'][4]"/>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='edit_workflow'][5]"/>
  <xupdate:insert-after select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='processing_status_workflow'][9]">
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">processing_status_workflow</xupdate:attribute>
      <action type="string">process_file</action>
      <actor type="string">daniele</actor>
      <comment type="string"/>
      <error_message type="string"/>
      <external_processing_state type="string">converting</external_processing_state>
      <serial type="string">907.63933.51944.62822</serial>
      <time type="date">2011/02/01 00:25:48.348399 GMT+1</time>
    </xupdate:element>
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">processing_status_workflow</xupdate:attribute>
      <action type="string">convert_file</action>
      <actor type="string">daniele</actor>
      <comment type="string">Converted to application/vnd.oasis.opendocument.presentation.</comment>
      <error_message type="string"/>
      <external_processing_state type="string">converted</external_processing_state>
      <serial type="string">907.63933.52837.14301</serial>
      <time type="date">2011/02/01 00:25:51.297050 GMT+1</time>
    </xupdate:element>
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">processing_status_workflow</xupdate:attribute>
      <action type="string">update_file_metadata</action>
      <actor type="string">daniele</actor>
      <comment type="string"/>
      <error_message type="string"/>
      <external_processing_state type="string">converted</external_processing_state>
      <serial type="string">907.63933.56048.6758</serial>
      <time type="date">2011/02/01 00:25:53.244137 GMT+1</time>
    </xupdate:element>
  </xupdate:insert-after>
  <xupdate:insert-after select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='edit_workflow'][7]">
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">edit_workflow</xupdate:attribute>
      <action type="string">edit</action>
      <actor type="string">daniele</actor>
      <comment type="None"/>
      <error_message type="string"/>
      <serial type="string">907.63933.51944.62822</serial>
      <state type="string">current</state>
      <time type="date">2011/02/01 00:25:48.340627 GMT+1</time>
    </xupdate:element>
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">edit_workflow</xupdate:attribute>
      <action type="string">edit</action>
      <actor type="string">daniele</actor>
      <comment type="None"/>
      <error_message type="string"/>
      <serial type="string">907.63933.51944.62822</serial>
      <state type="string">current</state>
      <time type="date">2011/02/01 00:25:48.354848 GMT+1</time>
    </xupdate:element>
  </xupdate:insert-after>
</xupdate:modifications>



FAIL: test_01_splitAndDefer (testERP5Simulation.TestERP5Simulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testERP5Simulation.py", line 198, in test_01_splitAndDefer
    sequence_list.play(self, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 116, 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
      IncreasePackingListLineQuantity2
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      DecreasePackingListLineQuantity1
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      DecreasePackingListLineQuantity10
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      CheckSolverIsSolving
      Tic
      CheckPackingListSplitted
      CheckPackingListIsSolved
      CheckSolverIsSolved
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testOrder.py", line 777, in stepCheckOrderSimulation
    sequence_list=sequence_list, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testOrder.py", line 817, in checkOrderRuleSimulation
    self.failIfDifferentSet(movement_list, order_movement_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 487, in failIfDifferentSet
    self.assertEquals(set(a), set(b), msg)
AssertionError: [<Sale Order Line at /erp5_portal_fc5391439c7dad222cda3fff8f258071/sale_order_module/1/1>] != [None]


ERROR: test_19_AcquiredContentAccessor (testERP5Type.TestERP5Type), Tests an acquired content accessor.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 1171, in test_19_AcquiredContentAccessor
    person.getDefaultOrganisationTitle())
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Accessor/AcquiredProperty.py", line 100, in __call__
    checked_permission=kw.get('checked_permission', None)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 1241, in _getDefaultAcquiredProperty
    checked_permission=checked_permission) # Full acquisition
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 2178, in _getAcquiredValueList
    spec=spec,  filter=filter, **kw):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 2349, in _getAcquiredCategoryMembershipList
    checked_permission=checked_permission, **kw )
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFCategory/CategoryTool.py", line 1144, in getAcquiredCategoryMembershipList
    spec=spec, filter=filter, _acquired_object_set=_acquired_object_set, **kw ))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFCategory/CategoryTool.py", line 867, in getSingleCategoryAcquiredMembershipList
    **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFCategory/CategoryTool.py", line 956, in _getSingleCategoryAcquiredMembershipList
    spec=spec, filter=filter, **kw ) # Not acquired because this is the first try
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFCategory/CategoryTool.py", line 821, in getSingleCategoryMembershipList
    spec_len = len(spec)
TypeError: object of type 'NoneType' has no len()


ERROR: test_19b_AcquiredContentAccessorWithIdClash (testERP5Type.TestERP5Type), Tests a content setters do not set the property on acquired object
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 1205, in test_19b_AcquiredContentAccessorWithIdClash
    person.getDefaultOrganisationTitle())
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Accessor/AcquiredProperty.py", line 100, in __call__
    checked_permission=kw.get('checked_permission', None)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 1241, in _getDefaultAcquiredProperty
    checked_permission=checked_permission) # Full acquisition
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 2178, in _getAcquiredValueList
    spec=spec,  filter=filter, **kw):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 2349, in _getAcquiredCategoryMembershipList
    checked_permission=checked_permission, **kw )
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFCategory/CategoryTool.py", line 1144, in getAcquiredCategoryMembershipList
    spec=spec, filter=filter, _acquired_object_set=_acquired_object_set, **kw ))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFCategory/CategoryTool.py", line 867, in getSingleCategoryAcquiredMembershipList
    **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFCategory/CategoryTool.py", line 956, in _getSingleCategoryAcquiredMembershipList
    spec=spec, filter=filter, **kw ) # Not acquired because this is the first try
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/CMFCategory/CategoryTool.py", line 821, in getSingleCategoryMembershipList
    spec_len = len(spec)
TypeError: object of type 'NoneType' has no len()


ERROR: test_copyWithoutModificationRight (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2522, in test_copyWithoutModificationRight


(truncated) ...


More information about the Erp5-report mailing list