[Erp5-report] ERP5-MASTER : 4825 Tests, 8 Errors, 4 Failures, 204 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Sat May 17 08:38:05 CEST 2014


Test Suite: ERP5-MASTER
Revision: slapos=6721-3365305c3aaca1f85f8ba5f167137f924ac35ab0,erp5=43469-ec0d621d77ae8b45232cc9a5f0786692f9ae24c8
Result: FAIL

All tests: 4825
Failures: 4
Errors: 8
Skips: 204

 https://nexedi.erp5.net/test_result_module/20140516-4E32CD74/view


The following tests failed:

  testAccountingReports                              (4 failures, 1 skips)
   test_simple_aged_creditor_report_detailed (testAccountingReports.TestAccountingReports)
   test_simple_aged_creditor_report_summary (testAccountingReports.TestAccountingReports)
   test_simple_aged_debtor_report_detailed (testAccountingReports.TestAccountingReports)
   test_simple_aged_debtor_report_summary (testAccountingReports.TestAccountingReports)

  testComplexTradeModelLineUseCase                   (5 errors)
   test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase4 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase6 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase5 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
   test_usecase6 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)

  testTradeModelLine                                 (1 errors, 1 skips)
   test_03_VariatedModelLine (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (2 errors, 1 skips)
   test_02_OrderWithComplexTaxedAndDiscountedLines (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_03_VariatedModelLine (testTradeModelLinePurchase.TestTradeModelLinePurchase)

The following tests were at least partly skipped:

  erp5_configurator_maxma_demo:testMaxmaDemoConfigurationWorkflow (1 skips)

  erp5_web_shacache:testShaCache                     (1 skips)

  erp5_web_shadir:testShaDir                         (1 skips)

  networkcache_erp5:testShaCacheExternal             (1 skips)

  testAccountingReports                              (1 skips)
   test_Resource_zGetMovementHistoryList (testAccountingReports.TestAccountingReports) ... skipped 'TODO ERP5'

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (1 skips)

  testBPMCore                                        (1 skips)
   test_payBeforeDelivery (testBPMCore.TestBPMImplementation) ... skipped 'TODO ERP5'

  testBase                                           (3 skips)
   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'
   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'
   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                               (6 skips)
   test_BusinessTemplateUpgradeDocumentFromFilesystemToZodb (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocument (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentMigrated (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentNonExistingBefore (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'

  testCRM                                            (1 skips)

  testCalendar                                       (5 skips)
   test_2OverlappedLeaveRequestOverlappingAfterGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestOverlappingAfterGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestOverlappingBeforeGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestWithSameDateAsGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestWithSameDateAsRepeatedGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (1 skips)

  testDmsWithFlare                                   (1 skips)

  testDmsWithPreConversion                           (1 skips)

  testERP5Base                                       (1 skips)

  testERP5Catalog                                    (4 skips)
   Tests that buildSQLQuery works with another query_table than 'catalog' ... skipped 'TODO ERP5'
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Commerce                                   (1 skips)
   test_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

  testERP5DocumentSyncML                             (4 skips)

  testERP5Interfaces                                 (7 skips)

  testERP5SyncML                                     (2 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (3 skips)
   test_03_CreateWebSiteUser (testERP5Web.TestERP5Web) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

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

  testFunctionalAnonymousSelection                   (34 skips)
        So this part is skipped -->
        So this part is skipped -->
        So this part is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->

  testFunctionalCore                                 (8 skips)
        So this test is skipped -->
        So this test is skipped -->

  testFunctionalKM                                   (3 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventory                                      (2 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (6 skips)

  testItem                                           (13 skips)

  testKM                                             (3 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                                      (3 skips)

  testOrderBuilder                                   (4 skips)

  testOxatisSynchronization                          (1 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProxyField                                     (1 skips)

  testResource                                       (1 skips)

  testReturnedSalePackingList                        (3 skips)

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

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

  testTemplate                                       (1 skips)

  testTradeModelLine                                 (1 skips)

  testTradeModelLinePurchase                         (1 skips)

  testUbercartSynchronisation                        (1 skips)

  testVirtuemartSynchronization                      (1 skips)

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

FAIL: test_simple_aged_creditor_report_detailed (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 4105, in test_simple_aged_creditor_report_detailed
    self.createAgedBalanceDataSet()
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 4101, in createAgedBalanceDataSet
    self.assertTrue(line.getGroupingReference())
AssertionError: None is not true


FAIL: test_simple_aged_creditor_report_summary (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 4133, in test_simple_aged_creditor_report_summary
    self.createAgedBalanceDataSet()
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 4101, in createAgedBalanceDataSet
    self.assertTrue(line.getGroupingReference())
AssertionError: None is not true


FAIL: test_simple_aged_debtor_report_detailed (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 4158, in test_simple_aged_debtor_report_detailed
    self.createAgedBalanceDataSet()
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 4101, in createAgedBalanceDataSet
    self.assertTrue(line.getGroupingReference())
AssertionError: None is not true


FAIL: test_simple_aged_debtor_report_summary (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 4186, in test_simple_aged_debtor_report_summary
    self.createAgedBalanceDataSet()
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/tests/testAccountingReports.py", line 4101, in createAgedBalanceDataSet
    self.assertTrue(line.getGroupingReference())
AssertionError: None is not true


ERROR: test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 210, in test_usecase1
    VAT_AMOUNT=dict(total_price=473))
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 213, in getAggregatedAmountDict
    amount_list = self.getAggregatedAmountList(amount_generator)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 209, in getAggregatedAmountList
    return amount_generator.getAggregatedAmountList(*args, **kw)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 508, in getAggregatedAmountList
    amount_generator_type_list=amount_generator_type_list)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 492, in getGeneratedAmountList
    quantity)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 89, in contribute
    " it depends on." % (base_amount,))
ValueError: Can not contribute to 'base_amount/total_price_without_vat' because this base_amount is already applied. This should only happen in you have custom calculation for some base_amount and your code does not call getGeneratedAmountQuantity unconditionally for all base_amount it depends on.


ERROR: test_usecase4 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 390, in test_usecase4
    VAT_AMOUNT=dict(total_price=450))
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 213, in getAggregatedAmountDict
    amount_list = self.getAggregatedAmountList(amount_generator)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 209, in getAggregatedAmountList
    return amount_generator.getAggregatedAmountList(*args, **kw)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 508, in getAggregatedAmountList
    amount_generator_type_list=amount_generator_type_list)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 492, in getGeneratedAmountList
    quantity)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 89, in contribute
    " it depends on." % (base_amount,))
ValueError: Can not contribute to 'base_amount/total_price_without_vat' because this base_amount is already applied. This should only happen in you have custom calculation for some base_amount and your code does not call getGeneratedAmountQuantity unconditionally for all base_amount it depends on.


ERROR: test_usecase6 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 489, in test_usecase6
    VAT_AMOUNT=dict(total_price=225))
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 213, in getAggregatedAmountDict
    amount_list = self.getAggregatedAmountList(amount_generator)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 209, in getAggregatedAmountList
    return amount_generator.getAggregatedAmountList(*args, **kw)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 508, in getAggregatedAmountList
    amount_generator_type_list=amount_generator_type_list)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 492, in getGeneratedAmountList
    quantity)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 89, in contribute
    " it depends on." % (base_amount,))
ValueError: Can not contribute to 'base_amount/vat_amount' because this base_amount is already applied. This should only happen in you have custom calculation for some base_amount and your code does not call getGeneratedAmountQuantity unconditionally for all base_amount it depends on.


ERROR: test_usecase5 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 451, in test_usecase5
    VAT_AMOUNT=dict(total_price=600))
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 213, in getAggregatedAmountDict
    amount_list = self.getAggregatedAmountList(amount_generator)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 209, in getAggregatedAmountList
    return amount_generator.getAggregatedAmountList(*args, **kw)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 508, in getAggregatedAmountList
    amount_generator_type_list=amount_generator_type_list)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 492, in getGeneratedAmountList
    quantity)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 89, in contribute
    " it depends on." % (base_amount,))
ValueError: Can not contribute to 'base_amount/total_price_without_vat' because this base_amount is already applied. This should only happen in you have custom calculation for some base_amount and your code does not call getGeneratedAmountQuantity unconditionally for all base_amount it depends on.


ERROR: test_usecase6 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 489, in test_usecase6
    VAT_AMOUNT=dict(total_price=225))
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 213, in getAggregatedAmountDict
    amount_list = self.getAggregatedAmountList(amount_generator)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 209, in getAggregatedAmountList
    return amount_generator.getAggregatedAmountList(*args, **kw)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 508, in getAggregatedAmountList
    amount_generator_type_list=amount_generator_type_list)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 492, in getGeneratedAmountList
    quantity)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 89, in contribute
    " it depends on." % (base_amount,))
ValueError: Can not contribute to 'base_amount/total_price_without_vat' because this base_amount is already applied. This should only happen in you have custom calculation for some base_amount and your code does not call getGeneratedAmountQuantity unconditionally for all base_amount it depends on.


ERROR: test_03_VariatedModelLine (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 835, in test_03_VariatedModelLine
    amount_list = trade_condition.getGeneratedAmountList((amount,))
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 492, in getGeneratedAmountList
    quantity)
  File "/srv/slapgrid/slappart0/srv/testnode/e/soft/607b8abd4392141413727c7ec1e93c53/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 89, in contribute
    " it depends on." % (base_amount,))
ValueError: Can not contribute to ('base_amount/total_tax', 'tax_share/B') because this base_amount is already applied. This should only happen in you have custom calculation for some base_amount and your code does not call getGeneratedAmountQuantity unconditionally for all base_amount it depends on.


ERROR: test_02_OrderWithComplexTaxedAndDiscountedLines (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 780, in test_02_OrderWithComplexTaxedAndDiscountedLines
    self.checkAggregatedAmountList(order)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 407, in checkAggregatedAmountList
    check(order, None)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 405, in check
    self.getAggregatedAmountDict(movement, **kw)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 213, in getAggregatedAmountDict
    amount_list = self.getAggregatedAmountList(amount_generator)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 209, in getAggregatedAmountList
    return amount_generator.getAggregatedAmountList(*args, **kw)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 508, in getAggregatedAmountList
    amount_generator_type_list=amount_generator_type_list)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 492, in getGeneratedAmountList
    quantity)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 89, in contribute
    " it depends on." % (base_amount,))
ValueError: Can not contribute to 'base_amount/total_tax' because this base_amount is already applied. This should only happen in you have custom calculation for some base_amount and your code does not call getGeneratedAmountQuantity unconditionally for all base_amount it depends on.


ERROR: test_03_VariatedModelLine (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/tests/testTradeModelLine.py", line 835, in test_03_VariatedModelLine
    amount_list = trade_condition.getGeneratedAmountList((amount,))
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 492, in getGeneratedAmountList
    quantity)
  File "/srv/slapgrid/slappart1/srv/testnode/e/soft/e0bfce049e3670b870c3700444951650/parts/erp5/Products/ERP5/mixin/amount_generator.py", line 89, in contribute
    " it depends on." % (base_amount,))
ValueError: Can not contribute to ('base_amount/total_tax', 'tax_share/B') because this base_amount is already applied. This should only happen in you have custom calculation for some base_amount and your code does not call getGeneratedAmountQuantity unconditionally for all base_amount it depends on.


More information about the Erp5-report mailing list