Commit 507ed868 authored by Hervé Poulain's avatar Hervé Poulain

The date is given as parameter, but is reset by the script, so, fix this error.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35861 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f9c46ca
......@@ -62,7 +62,8 @@ from DateTime import DateTime\n
# 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 @@ else:\n
<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 @@ else:\n
<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>
......
1234
\ No newline at end of file
1236
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment