[Erp5-report] r39160 fx.algrain - in /experimental/bt5/erp5_credential: WorkflowTemplateIte...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 14 15:53:44 CEST 2010


Author: fx.algrain
Date: Thu Oct 14 15:53:40 2010
New Revision: 39160

URL: http://svn.erp5.org?rev=39160&view=rev
Log:
Use the transition date to set the start date : not need to call datetime and use the real date of "start"

Modified:
    experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/Credential_dateInit.xml
    experimental/bt5/erp5_credential/bt/revision

Modified: experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/Credential_dateInit.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/Credential_dateInit.xml?rev=39160&r1=39159&r2=39160&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/Credential_dateInit.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/Credential_dateInit.xml [utf8] Thu Oct 14 15:53:40 2010
@@ -50,8 +50,8 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>current_date = DateTime()\n
-state_change[\'object\'].setStartDate(current_date)\n
+            <value> <string>"""Specify the start date of the credential with the transition date"""\n
+state_change[\'object\'].setStartDate(state_change.getDateTime())\n
 </string> </value>
         </item>
         <item>
@@ -97,8 +97,6 @@ state_change[\'object\'].setStartDate(cu
                         <value>
                           <tuple>
                             <string>state_change</string>
-                            <string>DateTime</string>
-                            <string>current_date</string>
                             <string>_getattr_</string>
                             <string>_getitem_</string>
                           </tuple>

Modified: experimental/bt5/erp5_credential/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/bt/revision?rev=39160&r1=39159&r2=39160&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/bt/revision [utf8] (original)
+++ experimental/bt5/erp5_credential/bt/revision [utf8] Thu Oct 14 15:53:40 2010
@@ -1 +1 @@
-307
\ No newline at end of file
+308
\ No newline at end of file




More information about the Erp5-report mailing list