[Erp5-report] r38181 yusei - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_sk...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 8 06:50:31 CEST 2010


Author: yusei
Date: Wed Sep  8 06:50:31 2010
New Revision: 38181

URL: http://svn.erp5.org?rev=38181&view=rev
Log:
2010-09-08 yusei
Revert my change on AccountingTransactionModule_getJournalSectionLineList at 2010-09-02.

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml?rev=38181&r1=38180&r2=38181&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml [utf8] Wed Sep  8 06:50:31 2010
@@ -72,7 +72,7 @@ if project_uid:\n
     extra_kw[\'project_uid\'] = project_uid\n
 \n
 account_title_cache = dict()\n
-def getAccountGapIdAndTitle(node_relative_url):\n
+def getAccountId(node_relative_url):\n
   if node_relative_url not in account_title_cache:\n
     title = portal.restrictedTraverse(node_relative_url).Account_getGapId(gap_root=gap_root)\n
     account_title_cache[node_relative_url] = title\n
@@ -155,7 +155,7 @@ for brain in portal.portal_simulation.ge
                 specific_reference=specific_reference,\n
                 parent_reference=transaction_reference,\n
                 mirror_section_title=mirror_section_title,\n
-                node_title=getAccountGapIdAndTitle(brain.node_relative_url),\n
+                node_title=getAccountId(brain.node_relative_url),\n
                 date=date,\n
                 debit=debit,\n
                 credit=credit,)\n
@@ -244,7 +244,7 @@ return line_list\n
                             <string>True</string>
                             <string>None</string>
                             <string>account_title_cache</string>
-                            <string>getAccountGapIdAndTitle</string>
+                            <string>getAccountId</string>
                             <string>account_in_gap_root_cache</string>
                             <string>isAccountInGapRoot</string>
                             <string>displayed_transaction</string>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=38181&r1=38180&r2=38181&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Wed Sep  8 06:50:31 2010
@@ -1 +1 @@
-1348
\ No newline at end of file
+1349
\ No newline at end of file




More information about the Erp5-report mailing list