[Erp5-report] r28521 - in /erp5/trunk/bt5/erp5_accounting_ui_test: SkinTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 20 16:36:36 CEST 2009


Author: jerome
Date: Thu Aug 20 16:36:35 2009
New Revision: 28521

URL: http://svn.erp5.org?rev=28521&view=rev
Log:
we no longer have tax system here

Modified:
    erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml
    erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml?rev=28521&r1=28520&r2=28521&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml [utf8] Thu Aug 20 16:36:35 2009
@@ -127,16 +127,6 @@
                               immediate_reindex=immediate_reindex,\n
                               title=\'Dummy Product for testing\')\n
 \n
-tax_list = [o.getObject() for o in portal.tax_module.searchFolder(\n
-                                     portal_type=\'Tax\',\n
-                                     title=\'VAT\')]\n
-if tax_list:\n
-  tax = tax_list[0]\n
-else:\n
-  tax = portal.tax_module.newContent(portal_type=\'Tax\',\n
-                                     title=\'VAT\')\n
-\n
-                               \n
 for i in range(random.randint(5, 10)):\n
   pl = portal.sale_packing_list_module.newContent(\n
         immediate_reindex=immediate_reindex,\n
@@ -232,13 +222,6 @@
                   resource_value=product,\n
                   quantity=random.randint(300, 400),\n
                   price=random.randint(300, 400), )\n
-    # add a random tax line, which should not impact our tests\n
-    tr.newContent(portal_type=\'Tax Line\',\n
-                  immediate_reindex=immediate_reindex,\n
-                  resource_value=tax,\n
-                  quantity=random.randint(300, 400),\n
-                  price=random.randint(300, 400) / 100., )\n
-        \n
     if transaction_state == \'validated\':\n
       tr.stop()\n
       assert tr.getSimulationState() == \'stopped\'\n
@@ -428,8 +411,6 @@
                             <string>o</string>
                             <string>product_list</string>
                             <string>product</string>
-                            <string>tax_list</string>
-                            <string>tax</string>
                             <string>range</string>
                             <string>random</string>
                             <string>i</string>

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision?rev=28521&r1=28520&r2=28521&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision [utf8] Thu Aug 20 16:36:35 2009
@@ -1,1 +1,1 @@
-133
+134




More information about the Erp5-report mailing list