[Erp5-report] r36753 jerome - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_s...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jun 30 18:09:33 CEST 2010


Author: jerome
Date: Wed Jun 30 18:09:29 2010
New Revision: 36753

URL: http://svn.erp5.org?rev=36753&view=rev
Log:
show transaction reference in journal

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalReportSectionList.xml
    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_getJournalReportSectionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalReportSectionList.xml?rev=36753&r1=36752&r2=36753&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalReportSectionList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalReportSectionList.xml [utf8] Wed Jun 30 18:09:29 2010
@@ -100,7 +100,8 @@ else:\n
 selection_columns = (\n
     (\'specific_reference\', \'Transaction Reference\'),\n
     (\'date\', \'Date\'),\n
-    (\'title\', \'Accounting Transaction Title\'),)\n
+    (\'title\', \'Accounting Transaction Title\'),\n
+    (\'parent_reference\', \'Document Reference\'),)\n
 if len(portal_type) > 1:\n
   selection_columns += (\n
     (\'portal_type\', \'Journal Type\'), )\n

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=36753&r1=36752&r2=36753&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 Jun 30 18:09:29 2010
@@ -136,10 +136,12 @@ for brain in portal.portal_simulation.ge
     else:\n
       specific_reference = transaction.getDestinationReference()\n
     displayed_transaction[transaction.getUid()] = 1\n
+    transaction_reference = transaction.getReference()\n
     title = mvt.hasTitle() and mvt.getTitle() or transaction.getTitle()\n
     date = brain.date\n
   else:\n
     specific_reference = \'\'\n
+    transaction_reference = \'\'\n
     title = mvt.hasTitle() and mvt.getTitle() or \'\'\n
     date = None\n
 \n
@@ -147,6 +149,7 @@ for brain in portal.portal_simulation.ge
                 title=title,\n
                 portal_type=transaction.getTranslatedPortalType(),\n
                 specific_reference=specific_reference,\n
+                parent_reference=transaction_reference,\n
                 mirror_section_title=mirror_section_title,\n
                 node_title=getAccountId(brain.node_relative_url),\n
                 date=date,\n
@@ -251,6 +254,7 @@ return line_list\n
                             <string>is_source</string>
                             <string>mirror_section_title</string>
                             <string>specific_reference</string>
+                            <string>transaction_reference</string>
                             <string>title</string>
                             <string>date</string>
                             <string>None</string>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=36753&r1=36752&r2=36753&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Wed Jun 30 18:09:29 2010
@@ -1 +1 @@
-1295
\ No newline at end of file
+1297
\ No newline at end of file




More information about the Erp5-report mailing list