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