Commit efd252e0 authored by Yusei Tahara's avatar Yusei Tahara

2008-5-26 yusei

* Added a new content column in event list in ticket view and fixed to display correct title in the list.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21141 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ee1213c6
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</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>text = context.asText()\n
LENGTH = 25\n
\n
#TODO: Think about the display length of multibyte characters.\n
try:\n
return unicode(text, \'utf-8\')[:LENGTH].encode(\'utf-8\')\n
except UnicodeDecodeError:\n
return text[:LENGTH]\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></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>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>_getattr_</string>
<string>context</string>
<string>text</string>
<string>LENGTH</string>
<string>_getitem_</string>
<string>unicode</string>
<string>UnicodeDecodeError</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>Event_getHeadOfTextContent</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
<list> <list>
<string>listbox_delivery_start_date</string> <string>listbox_delivery_start_date</string>
<string>listbox_destination_title</string> <string>listbox_destination_title</string>
<string>listbox_content</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<string>Products.ERP5Form.ProxyField</string> <tuple/>
<string>ProxyField</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -123,7 +120,7 @@ ...@@ -123,7 +120,7 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>title</string> <string>getTitle</string>
<string>Title</string> <string>Title</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -142,6 +139,10 @@ ...@@ -142,6 +139,10 @@
<string>destination_title</string> <string>destination_title</string>
<string>Recipients</string> <string>Recipients</string>
</tuple> </tuple>
<tuple>
<string>content</string>
<string>Content</string>
</tuple>
<tuple> <tuple>
<string>translated_simulation_state_title</string> <string>translated_simulation_state_title</string>
<string>State</string> <string>State</string>
...@@ -165,6 +166,10 @@ ...@@ -165,6 +166,10 @@
<string>destination_title</string> <string>destination_title</string>
<string>Recipients</string> <string>Recipients</string>
</tuple> </tuple>
<tuple>
<string>content</string>
<string>Content</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
...@@ -260,11 +265,8 @@ ...@@ -260,11 +265,8 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<string>Products.Formulator.MethodField</string> <tuple/>
<string>Method</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
2008-5-26 yusei
* Added a new content column in event list in ticket view and fixed to display correct title in the list.
2008-5-26 yusei 2008-5-26 yusei
* Added An option which create new event in acknowledge workflow dialog. * Added An option which create new event in acknowledge workflow dialog.
* In event_workflow, variables named follow_up_ticket_title and follow_up_ticket_type are updated only when transition or new state specify a new value. * In event_workflow, variables named follow_up_ticket_title and follow_up_ticket_type are updated only when transition or new state specify a new value.
......
241 243
\ 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