Commit da95e49b authored by Jérome Perrin's avatar Jérome Perrin

set stop date when closing a bug.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10056 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3bb14bfe
...@@ -40,160 +40,6 @@ ...@@ -40,160 +40,6 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary>
<item>
<key> <string>order_workflow</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>order_action</string> </key>
<value> <string>order</string> </value>
</item>
<item>
<key> <string>order_actor</string> </key>
<value> <string>superseb</string> </value>
</item>
<item>
<key> <string>order_comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>order_state</string> </key>
<value> <string>ordered</string> </value>
</item>
<item>
<key> <string>order_time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_aday</string> </key>
<value> <string>Mon</string> </value>
</item>
<item>
<key> <string>_amon</string> </key>
<value> <string>Jul</string> </value>
</item>
<item>
<key> <string>_d</string> </key>
<value> <float>37463.758549</float> </value>
</item>
<item>
<key> <string>_day</string> </key>
<value> <int>28</int> </value>
</item>
<item>
<key> <string>_dayoffset</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>_fday</string> </key>
<value> <string>Monday</string> </value>
</item>
<item>
<key> <string>_fmon</string> </key>
<value> <string>July</string> </value>
</item>
<item>
<key> <string>_hour</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>_millis</string> </key>
<value> <long>1059415938634</long> </value>
</item>
<item>
<key> <string>_minute</string> </key>
<value> <int>12</int> </value>
</item>
<item>
<key> <string>_month</string> </key>
<value> <int>7</int> </value>
</item>
<item>
<key> <string>_nearsec</string> </key>
<value> <float>18.0</float> </value>
</item>
<item>
<key> <string>_pday</string> </key>
<value> <string>Mon.</string> </value>
</item>
<item>
<key> <string>_pm</string> </key>
<value> <string>pm</string> </value>
</item>
<item>
<key> <string>_pmhour</string> </key>
<value> <int>8</int> </value>
</item>
<item>
<key> <string>_pmon</string> </key>
<value> <string>July</string> </value>
</item>
<item>
<key> <string>_second</string> </key>
<value> <float>18.634</float> </value>
</item>
<item>
<key> <string>_t</string> </key>
<value> <float>1059415938.63</float> </value>
</item>
<item>
<key> <string>_tz</string> </key>
<value> <string>GMT+2</string> </value>
</item>
<item>
<key> <string>_year</string> </key>
<value> <int>2003</int> </value>
</item>
<item>
<key> <string>time</string> </key>
<value> <float>0.758549004626</float> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>from DateTime import DateTime\n
bug = state_change[\'object\']\n
bug.setStopDate(DateTime())\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>state_change</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>state_change</string>
<string>DateTime</string>
<string>_getitem_</string>
<string>bug</string>
<string>_getattr_</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>setCloseDate</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</item> </item>
<item> <item>
<key> <string>script_name</string> </key> <key> <string>script_name</string> </key>
<value> <string></string> </value> <value> <string>setCloseDate</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
93 94
\ No newline at end of file \ 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