Commit d3c42861 authored by Yoshinori Okuji's avatar Yoshinori Okuji

2006-01-31 yo

* Fix OrganisationModule_viewOrganisationList and PersonModule_viewPersonList to use translated titles or plain titles.

and, I guess aurel didn't write a change log.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5454 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba113173
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Catalog</string> </value> <value> <string>Catalog Methods</string> </value>
</item> </item>
<item> <item>
<key> <string>visible</string> </key> <key> <string>visible</string> </key>
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python:object.REQUEST.get(\'form_id\') == \'Entity_viewAccountingTransactionList\'</string> </value> <value> <string>python:object.REQUEST.get(\'form_id\', None) == \'Entity_viewAccountingTransactionList\'</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Download Business Template</string> </value> <value> <string>Download Business Template From URL</string> </value>
</item> </item>
<item> <item>
<key> <string>visible</string> </key> <key> <string>visible</string> </key>
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Import Business Template</string> </value> <value> <string>Upload Business Template</string> </value>
</item> </item>
<item> <item>
<key> <string>visible</string> </key> <key> <string>visible</string> </key>
......
...@@ -467,7 +467,9 @@ ...@@ -467,7 +467,9 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
...@@ -66,26 +66,16 @@ ...@@ -66,26 +66,16 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># Updates attributes of an Zope document\n <value> <string>from ZTUtils import make_query\n
# which is in a class inheriting from ERP5 Base\n
\n
\n
from ZTUtils import make_query\n
\n \n
request=context.REQUEST\n request=context.REQUEST\n
\n \n
#return request\n
\n
\n
#selection = context.portal_selections.getSelectionFor(\'modele_view\')\n
#context.portal_selections.setSelectionFor(\'jump_relation\',selection)\n
#return "ok"\n
\n
form = getattr(context,form_id)\n form = getattr(context,form_id)\n
field = form.get_field(field_id)\n field = form.get_field(field_id)\n
base_category = field.get_value(\'base_category\')\n base_category = field.get_value(\'base_category\')\n
portal_type = map(lambda x:x[0],field.get_value(\'portal_type\'))\n portal_type = map(lambda x:x[0],field.get_value(\'portal_type\'))\n
jump_reference_list = context.getAcquiredValueList(base_category, portal_type=portal_type)\n jump_reference_list = context.getAcquiredValueList(base_category, portal_type=portal_type)\n
\n
if len(jump_reference_list)==1:\n if len(jump_reference_list)==1:\n
jump_reference = jump_reference_list[0]\n jump_reference = jump_reference_list[0]\n
return request[ \'RESPONSE\' ].redirect( \'%s/view\' % jump_reference.absolute_url() )\n return request[ \'RESPONSE\' ].redirect( \'%s/view\' % jump_reference.absolute_url() )\n
......
...@@ -322,39 +322,39 @@ ...@@ -322,39 +322,39 @@
<string>Name</string> <string>Name</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getRole</string> <string>role_title</string>
<string>Role</string> <string>Role</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getGroup</string> <string>group_title</string>
<string>Group</string> <string>Group</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getActivity</string> <string>activity_title</string>
<string>Activity</string> <string>Activity</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getFunction</string> <string>function_title</string>
<string>Function</string> <string>Function</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getDefaultEmailText</string> <string>default_email_text</string>
<string>Email</string> <string>Email</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getDefaultTelephoneText</string> <string>default_telephone_text</string>
<string>Phone</string> <string>Phone</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getDefaultFaxText</string> <string>default_fax_text</string>
<string>FAX</string> <string>FAX</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getDefaultAddressText</string> <string>default_address_text</string>
<string>Address</string> <string>Address</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getDefaultRegion</string> <string>default_region_title</string>
<string>Region</string> <string>Region</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -362,7 +362,7 @@ ...@@ -362,7 +362,7 @@
<string>Description</string> <string>Description</string>
</tuple> </tuple>
<tuple> <tuple>
<string>validation_state</string> <string>translated_validation_state_title</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -391,27 +391,27 @@ ...@@ -391,27 +391,27 @@
<string>Name</string> <string>Name</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getDefaultTelephoneText</string> <string>default_telephone_text</string>
<string>Phone</string> <string>Phone</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getDefaultRegionTitle</string> <string>default_region_title</string>
<string>Region</string> <string>Region</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getRoleTitle</string> <string>role_title</string>
<string>Role</string> <string>Role</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getGroupTitle</string> <string>group_title</string>
<string>Group</string> <string>Group</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getActivityTitle</string> <string>activity_title</string>
<string>Activity</string> <string>Activity</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getFunctionTitle</string> <string>function_title</string>
<string>Function</string> <string>Function</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -419,7 +419,7 @@ ...@@ -419,7 +419,7 @@
<string>Description</string> <string>Description</string>
</tuple> </tuple>
<tuple> <tuple>
<string>validation_state</string> <string>translated_validation_state_title</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </list>
......
...@@ -326,7 +326,7 @@ ...@@ -326,7 +326,7 @@
<string>Organisation</string> <string>Organisation</string>
</tuple> </tuple>
<tuple> <tuple>
<string>group</string> <string>group_title</string>
<string>Group</string> <string>Group</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -346,11 +346,11 @@ ...@@ -346,11 +346,11 @@
<string>Address</string> <string>Address</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_region</string> <string>default_region_title</string>
<string>Region</string> <string>Region</string>
</tuple> </tuple>
<tuple> <tuple>
<string>role</string> <string>role_title</string>
<string>Role</string> <string>Role</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -391,11 +391,11 @@ ...@@ -391,11 +391,11 @@
<string>Phone</string> <string>Phone</string>
</tuple> </tuple>
<tuple> <tuple>
<string>default_region</string> <string>default_region_title</string>
<string>Region</string> <string>Region</string>
</tuple> </tuple>
<tuple> <tuple>
<string>role</string> <string>role_title</string>
<string>Role</string> <string>Role</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -571,16 +571,7 @@ Role & Region ...@@ -571,16 +571,7 @@ Role & Region
<item> <item>
<key> <string>search_columns</string> </key> <key> <string>search_columns</string> </key>
<value> <value>
<list> <list/>
<tuple>
<string>title</string>
<string>Usual Name</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
......
2006-01-31 yo
* Fix OrganisationModule_viewOrganisationList and PersonModule_viewPersonList to use translated titles or plain titles.
2006-01-30 jerome 2006-01-30 jerome
* added support for workflow validation in list mode (see Accounting Transaction Module for an example of how to use it) * added support for workflow validation in list mode (see Accounting Transaction Module for an example of how to use it)
......
1.0rc6 1.0rc7
\ 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