[Erp5-report] r19140 - in /erp5/trunk/bt5/erp5_accounting_ui_test: PathTemplateItem/portal_...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 7 18:07:59 CET 2008
Author: yusei
Date: Thu Feb 7 18:07:58 2008
New Revision: 19140
URL: http://svn.erp5.org?rev=19140&view=rev
Log:
Changed the start date of purchase invoice transaction to make sure that stop date is used for it.
Modified:
erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_default_sort.html.xml
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/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_default_sort.html.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_default_sort.html.xml?rev=19140&r1=19139&r2=19140&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_default_sort.html.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_default_sort.html.xml Thu Feb 7 18:07:58 2008
@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
- <tuple>
- <string>Products.PageTemplates.ZopePageTemplate</string>
- <string>ZopePageTemplate</string>
- </tuple>
- <none/>
+ <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
@@ -58,13 +55,6 @@
</td></tr>\n
</thead><tbody tal:define="init_method string:AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0">\n
<tal:block metal:use-macro="here/AccountingZuite_CommonTemplate/macros/init"/>\n
-\n
-<!--\n
-\n
-FIXME:\n
- default sort uses delivery.start_date, but for Purchase, we must use delivery.stop_date\n
-\n
--->\n
\n
<!-- Setup {{{ -->\n
<tr>\n
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=19140&r1=19139&r2=19140&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml Thu Feb 7 18:07:58 2008
@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
- <tuple>
- <string>Products.PythonScripts.PythonScript</string>
- <string>PythonScript</string>
- </tuple>
- <none/>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
@@ -245,7 +242,7 @@
destination_section=section,\n
source_section=getOrganisationByTitle(\'Supplier\'),\n
created_by_builder=1,\n
- start_date=default_date,\n
+ start_date=default_date-5, # In purchase invoice transaction, stop_date is accounting operation date.\n
stop_date=default_date,\n
resource=euro_resource,\n
)\n
@@ -385,6 +382,7 @@
<string>vat_rate</string>
<string>client_title</string>
<string>amount</string>
+ <string>_inplacevar_</string>
</tuple>
</value>
</item>
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=19140&r1=19139&r2=19140&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision Thu Feb 7 18:07:58 2008
@@ -1,1 +1,1 @@
-67
+68
More information about the Erp5-report
mailing list