Commit 35759f19 authored by Jérome Perrin's avatar Jérome Perrin

added script to ease creation of dialogs


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4899 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 607d8b72
<?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> <string encoding="base64">O/INCg==</string> </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>portal_type_list = context.getPortalAccountingTransactionTypeList()\n
N_ = context.Base_TranslateString\n
\n
item_list = []\n
for portal_type in portal_type_list : \n
item_list.append((N_(portal_type), portal_type))\n
\n
return item_list\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAAAcAAAAGAAAAQwAA
AHNlAAAAdAAAdAEAZAEAgwIAgwAAfQIAdAAAdAEAZAIAgwIAfQMAZwAAfQQAeDMAdAUAfAIAgwEA
RF0lAH0GAHQAAHwEAGQDAIMCAHwDAHwGAIMBAHwGAGYCAIMBAAFxNABXfAQAU2QAAFMoBAAAAE5z
JgAAAGdldFBvcnRhbEFjY291bnRpbmdUcmFuc2FjdGlvblR5cGVMaXN0cxQAAABCYXNlX1RyYW5z
bGF0ZVN0cmluZ3MGAAAAYXBwZW5kKAcAAABzCQAAAF9nZXRhdHRyX3MHAAAAY29udGV4dHMQAAAA
cG9ydGFsX3R5cGVfbGlzdHMCAAAATl9zCQAAAGl0ZW1fbGlzdHMJAAAAX2dldGl0ZXJfcwsAAABw
b3J0YWxfdHlwZSgHAAAAcwkAAABfZ2V0YXR0cl9zBwAAAGNvbnRleHRzEAAAAHBvcnRhbF90eXBl
X2xpc3RzAgAAAE5fcwkAAABpdGVtX2xpc3RzCQAAAF9nZXRpdGVyX3MLAAAAcG9ydGFsX3R5cGUo
AAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzOwAAAEFjY291bnRpbmdUcmFuc2FjdGlvbk1v
ZHVsZV9nZXRUcmFuc2xhdGVkUG9ydGFsVHlwZUl0ZW1MaXN0AQAAAHMMAAAAEgEPAgYBDQAJASAC
KAEAAABzOwAAAEFjY291bnRpbmdUcmFuc2FjdGlvbk1vZHVsZV9nZXRUcmFuc2xhdGVkUG9ydGFs
VHlwZUl0ZW1MaXN0KAEAAABzOwAAAEFjY291bnRpbmdUcmFuc2FjdGlvbk1vZHVsZV9nZXRUcmFu
c2xhdGVkUG9ydGFsVHlwZUl0ZW1MaXN0KAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgA
AAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/erp5_accounting/AccountingTransactionModule_getTranslatedPortalTypeItemList</string> </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>portal_type_list</string>
<string>N_</string>
<string>item_list</string>
<string>_getiter_</string>
<string>portal_type</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>AccountingTransactionModule_getTranslatedPortalTypeItemList</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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