[Erp5-report] r20458 - /experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/port...

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Apr 12 14:21:04 CEST 2008


Author: bartek
Date: Sat Apr 12 14:21:03 2008
New Revision: 20458

URL: http://svn.erp5.org?rev=20458&view=rev
Log:
bugfix (we count only transactionlines, not invoice lines)

Modified:
    experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransaction_getTwoSideTransactionLineList.xml

Modified: experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransaction_getTwoSideTransactionLineList.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransaction_getTwoSideTransactionLineList.xml?rev=20458&r1=20457&r2=20458&view=diff
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransaction_getTwoSideTransactionLineList.xml (original)
+++ experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransaction_getTwoSideTransactionLineList.xml Sat Apr 12 14:21:03 2008
@@ -3,8 +3,11 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
+        <tuple>
+          <string>Products.PythonScripts.PythonScript</string>
+          <string>PythonScript</string>
+        </tuple>
+        <none/>
       </tuple>
     </pickle>
     <pickle>
@@ -91,7 +94,7 @@
     223         100           10.00\n
 """\n
 \n
-line_list = context.AccountingTransaction_getInvoiceTransactionLineList()\n
+line_list = context.AccountingTransaction_getInvoiceTransactionLineList(portal_type=(\'Purchase Invoice Transaction Line\', \'Sale Invoice Transaction Line\', \'Accounting Transaction Line\'))\n
 left_lines = []\n
 right_lines = []\n
 \n
@@ -156,6 +159,12 @@
         </item>
         <item>
             <key> <string>_filepath</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
             <value>
               <none/>
             </value>




More information about the Erp5-report mailing list