Commit f18a0680 authored by Guillaume Michon's avatar Guillaume Michon

2006-03-10 Guillaume

* Translated amortisation method titles
* Added an interaction on pasting a delivery


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6080 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 200d0be1
...@@ -403,9 +403,6 @@ ...@@ -403,9 +403,6 @@
<permission> <permission>
<name>Manage users</name> <name>Manage users</name>
</permission> </permission>
<permission>
<name>Manage_messages</name>
</permission>
<permission> <permission>
<name>Modify Cookie Crumblers</name> <name>Modify Cookie Crumblers</name>
</permission> </permission>
......
...@@ -66,12 +66,14 @@ ...@@ -66,12 +66,14 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>return_list = [(\'No Change\', \'no_change\'), (\'Unimmobilise\', \'unimmobilise\')]\n <value> <string>return_list = [(context.Base_translateString(\'No Change\', \'content\'), \'no_change\'),\n
(context.Base_translateString(\'Unimmobilise\', \'content\'), \'unimmobilise\')]\n
\n \n
amortisation_method_list = context.Immobilisation_getAmortisationMethodList()\n amortisation_method_list = context.Immobilisation_getAmortisationMethodList()\n
for method in amortisation_method_list:\n for method in amortisation_method_list:\n
id = method[1].getId()\n id = method[1].getId()\n
display = method[1].title or id\n display = method[1].title or id\n
display = context.Base_translateString(display, \'content\')\n
return_list.append( (\'(%s) %s\' % (method[0], display), \'%s/%s\' % (method[0], id) ) )\n return_list.append( (\'(%s) %s\' % (method[0], display), \'%s/%s\' % (method[0], id) ) )\n
\n \n
return [(\'\',\'\')] + return_list\n return [(\'\',\'\')] + return_list\n
...@@ -123,9 +125,9 @@ return [(\'\',\'\')] + return_list\n ...@@ -123,9 +125,9 @@ return [(\'\',\'\')] + return_list\n
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>return_list</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>return_list</string>
<string>amortisation_method_list</string> <string>amortisation_method_list</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>method</string> <string>method</string>
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <value>
<list> <list>
<string>Immobilisation_updateFutureMovementsImmobilisationState</string>
<string>Immobilisation_updateImmobilisationState</string> <string>Immobilisation_updateImmobilisationState</string>
</list> </list>
</value> </value>
......
2006-03-10 Guillaume
* Translated amortisation method titles
2006-03-09 Guillaume 2006-03-09 Guillaume
* Removed result table item * Removed result table item
* Handle errors in Item_viewImmobilisationPeriods * Handle errors in Item_viewImmobilisationPeriods
......
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