[Erp5-report] r40098 jerome - in /erp5/trunk/bt5/erp5_accounting_ui_test: SkinTemplateItem/...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 9 13:50:28 CET 2010


Author: jerome
Date: Tue Nov  9 13:50:27 2010
New Revision: 40098

URL: http://svn.erp5.org?rev=40098&view=rev
Log:
2008-06-16 yusei
* Update accounting_zuite/test_account_module/test_account_module_domain_tree.html
for the recent changes of domain tree.
associate with a business process, it seem to be required now

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/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListSalesAndPayments.xml
    erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListWithPersons.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=40098&r1=40097&r2=40098&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] Tue Nov  9 13:50:27 2010
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
+      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -57,7 +54,7 @@
 \n
 # params\n
 section_title = \'My Organisation\'\n
-\n
+business_process = \'business_process_module/erp5_default_business_process\'\n
 portal = context.getPortalObject()\n
 accounting_module = portal.accounting_module\n
 year = 2005\n
@@ -133,6 +130,7 @@ for i in range(random.randint(5, 10)):\n
         source=section,\n
         destination_section=getOrganisationByTitle(\'Client 1\'),\n
         destination=getOrganisationByTitle(\'Client 1\'),\n
+        specialise=business_process,\n
         start_date=default_date, )\n
   line = pl.newContent(portal_type=\'Sale Packing List Line\',\n
                 resource_value=product,\n
@@ -191,6 +189,7 @@ for month in range(1, month_count + 1):\
           created_by_builder=1,\n
           start_date=default_date,\n
           stop_date=default_date,\n
+          specialise=business_process,\n
           resource=euro_resource,\n
       )\n
     tr.newContent(portal_type=\'Sale Invoice Transaction Line\',\n
@@ -268,6 +267,7 @@ for month in range(1, month_count + 1):\
         created_by_builder=1,\n
         start_date=default_date-5, # In purchase invoice transaction, stop_date is accounting operation date.\n
         stop_date=default_date,\n
+        specialise=business_process,\n
         resource=euro_resource,\n
     )\n
   tr.newContent(portal_type=\'Purchase Invoice Transaction Line\',\n
@@ -303,6 +303,7 @@ if add_draft_transactions:\n
           start_date=default_date,\n
           stop_date=default_date,\n
           resource=euro_resource,\n
+          specialise=business_process,\n
       )\n
     tr.newContent(portal_type=\'Sale Invoice Transaction Line\',\n
                   source=getAccountByTitle(\'Receivable\'),\n
@@ -363,6 +364,7 @@ return "Accounting Transactions Created.
                             <string>keep_grouping_reference</string>
                             <string>DateTime</string>
                             <string>section_title</string>
+                            <string>business_process</string>
                             <string>_getattr_</string>
                             <string>context</string>
                             <string>portal</string>

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListSalesAndPayments.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListSalesAndPayments.xml?rev=40098&r1=40097&r2=40098&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListSalesAndPayments.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListSalesAndPayments.xml [utf8] Tue Nov  9 13:50:27 2010
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
+      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -59,6 +56,7 @@ from DateTime import DateTime\n
 \n
 # params\n
 section_title = \'My Organisation\'\n
+business_process = \'business_process_module/erp5_default_business_process\'\n
 portal = context.getPortalObject()\n
 accounting_module = portal.accounting_module\n
 year = 2005\n
@@ -127,6 +125,7 @@ for month in range(1, month_count + 1):\
             start_date=DateTime(year, month, day),\n
             stop_date=DateTime(year, month, day),\n
             resource=euro_resource,\n
+            specialise=business_process,\n
         )\n
       receivable_qty = -(amount * (1 + vat_rate))\n
       total_receivable_quantity += receivable_qty\n
@@ -231,6 +230,7 @@ return "Accounting Transactions Created.
                             <string>keep_grouping_reference</string>
                             <string>DateTime</string>
                             <string>section_title</string>
+                            <string>business_process</string>
                             <string>_getattr_</string>
                             <string>context</string>
                             <string>portal</string>

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListWithPersons.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListWithPersons.xml?rev=40098&r1=40097&r2=40098&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListWithPersons.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListWithPersons.xml [utf8] Tue Nov  9 13:50:27 2010
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
+      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -57,6 +54,7 @@
 
 # params\n
 section_title = \'My Organisation\'\n
+business_process = \'business_process_module/erp5_default_business_process\'\n
 portal = context.getPortalObject()\n
 accounting_module = portal.accounting_module\n
 from DateTime import DateTime\n
@@ -135,6 +133,7 @@ for month in range(1, month_count + 1):\
           created_by_builder=1,\n
           start_date=DateTime(year, month, day),\n
           stop_date=DateTime(year, month, day),\n
+          specialise=business_process,\n
           resource=euro_resource,\n
       )\n
     tr.newContent(portal_type=\'Sale Invoice Transaction Line\',\n
@@ -199,6 +198,7 @@ return "Accounting Transactions Created.
                           <tuple>
                             <string>month_count</string>
                             <string>section_title</string>
+                            <string>business_process</string>
                             <string>_getattr_</string>
                             <string>context</string>
                             <string>portal</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=40098&r1=40097&r2=40098&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision [utf8] Tue Nov  9 13:50:27 2010
@@ -1 +1 @@
-178
\ No newline at end of file
+180
\ No newline at end of file




More information about the Erp5-report mailing list