Commit 7167c149 authored by Jérome Perrin's avatar Jérome Perrin

use simulation_state, not translate title for better behaviour when the value is a list


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5081 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5dd61519
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<list> <list>
<string>my_source_reference</string> <string>my_source_reference</string>
<string>my_Title</string> <string>my_Title</string>
<string>my_translated_simulation_state_title</string> <string>my_simulation_state</string>
<string>my_node</string> <string>my_node</string>
</list> </list>
</value> </value>
......
...@@ -228,32 +228,7 @@ ...@@ -228,32 +228,7 @@
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value>
<list> <list/>
<tuple>
<string>cancelled</string>
<string>cancelled</string>
</tuple>
<tuple>
<string>draft</string>
<string>draft</string>
</tuple>
<tuple>
<string>planned</string>
<string>planned</string>
</tuple>
<tuple>
<string>confirmed</string>
<string>confirmed</string>
</tuple>
<tuple>
<string>stopped</string>
<string>stopped</string>
</tuple>
<tuple>
<string>delivered</string>
<string>delivered</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -300,7 +275,7 @@ ...@@ -300,7 +275,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:here.Base_getTranslatedWorkflowStateItemList(\'accounting_workflow\')</string> </value> <value> <string>python:here.Base_getTranslatedWorkflowStateItemList(wf_id=\'accounting_workflow\')</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
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