[Erp5-report] r35861 herve.poulain - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/p...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 1 14:17:40 CEST 2010


Author: herve.poulain
Date: Tue Jun  1 14:17:29 2010
New Revision: 35861

URL: http://svn.erp5.org?rev=35861&view=rev
Log:
The date is given as parameter, but is reset by the script, so, fix this error.

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_createRelatedPaymentTransaction.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_createRelatedPaymentTransaction.xml?rev=35861&r1=35860&r2=35861&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_createRelatedPaymentTransaction.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_createRelatedPaymentTransaction.xml [utf8] Tue Jun  1 14:17:29 2010
@@ -62,7 +62,8 @@
 # activities, because it doesn\'t rely on REQUEST[\'PARENTS\']\n
 Base_translateString = context.Base_translateString\n
 \n
-date = DateTime()\n
+if date is None:\n
+  date = DateTime()\n
 portal = context.getPortalObject()\n
 payment_dict = {}\n
 is_source = context.AccountingTransaction_isSourceView()\n
@@ -200,6 +201,7 @@
                             <string>_getattr_</string>
                             <string>context</string>
                             <string>Base_translateString</string>
+                            <string>None</string>
                             <string>portal</string>
                             <string>payment_dict</string>
                             <string>is_source</string>
@@ -208,7 +210,6 @@
                             <string>True</string>
                             <string>total_payable_price_details</string>
                             <string>sum</string>
-                            <string>None</string>
                             <string>str</string>
                             <string>unicode</string>
                             <string>related_payment</string>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=35861&r1=35860&r2=35861&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Tue Jun  1 14:17:29 2010
@@ -1,1 +1,1 @@
-1234
+1236




More information about the Erp5-report mailing list