[Erp5-report] r42678 vincent - in /erp5/trunk/bt5/erp5_banking_check: ActionTemplateItem/po...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jan 26 11:23:28 CET 2011
Author: vincent
Date: Wed Jan 26 11:23:28 2011
New Revision: 42678
URL: http://svn.erp5.org?rev=42678&view=rev
Log:
Reset fast input page on entry.
Some users might get stuck with an unnusable fast input if they
select a high-number page (this fast-input list method doesn't
scale well). Reseting page allows them to recover.
Added:
erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_initFastInputForm.xml
Modified:
erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Delivery/fastinput.xml
erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Usual%20Cash%20Transfer/fastinput.xml
erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Vault%20Transfer/fastinput.xml
erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%20Check%20Purchase/fastinput.xml
erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%20Check%20Sale/fastinput.xml
erp5/trunk/bt5/erp5_banking_check/bt/revision
Modified: erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Delivery/fastinput.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%2520Delivery/fastinput.xml?rev=42678&r1=42677&r2=42678&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Delivery/fastinput.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Delivery/fastinput.xml [utf8] Wed Jan 26 11:23:28 2011
@@ -10,17 +10,15 @@
<pickle>
<dictionary>
<item>
- <key> <string>action</string> </key>
+ <key> <string>__ac_local_roles__</string> </key>
<value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ <none/>
</value>
</item>
<item>
- <key> <string>categories</string> </key>
+ <key> <string>action</string> </key>
<value>
- <tuple>
- <string>action_type/object_button</string>
- </tuple>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
@@ -33,9 +31,7 @@
</item>
<item>
<key> <string>description</string> </key>
- <value>
- <none/>
- </value>
+ <value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
@@ -81,7 +77,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>string:${object_url}/CheckbookDelivery_fastInputForm?your_fast_input_type=checkbook_delivery</string> </value>
+ <value> <string>string:${object_url}/CheckbookDelivery_initFastInputForm?your_fast_input_type=checkbook_delivery</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Usual%20Cash%20Transfer/fastinput.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%2520Usual%2520Cash%2520Transfer/fastinput.xml?rev=42678&r1=42677&r2=42678&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Usual%20Cash%20Transfer/fastinput.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Usual%20Cash%20Transfer/fastinput.xml [utf8] Wed Jan 26 11:23:28 2011
@@ -10,17 +10,15 @@
<pickle>
<dictionary>
<item>
- <key> <string>action</string> </key>
+ <key> <string>__ac_local_roles__</string> </key>
<value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ <none/>
</value>
</item>
<item>
- <key> <string>categories</string> </key>
+ <key> <string>action</string> </key>
<value>
- <tuple>
- <string>action_type/object_button</string>
- </tuple>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
@@ -33,9 +31,7 @@
</item>
<item>
<key> <string>description</string> </key>
- <value>
- <none/>
- </value>
+ <value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
@@ -81,7 +77,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>string:${object_url}/CheckbookDelivery_fastInputForm?your_fast_input_type=checkbook_usual_cash_transfer</string> </value>
+ <value> <string>string:${object_url}/CheckbookDelivery_initFastInputForm?your_fast_input_type=checkbook_usual_cash_transfer</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Vault%20Transfer/fastinput.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%2520Vault%2520Transfer/fastinput.xml?rev=42678&r1=42677&r2=42678&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Vault%20Transfer/fastinput.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Checkbook%20Vault%20Transfer/fastinput.xml [utf8] Wed Jan 26 11:23:28 2011
@@ -10,17 +10,15 @@
<pickle>
<dictionary>
<item>
- <key> <string>action</string> </key>
+ <key> <string>__ac_local_roles__</string> </key>
<value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ <none/>
</value>
</item>
<item>
- <key> <string>categories</string> </key>
+ <key> <string>action</string> </key>
<value>
- <tuple>
- <string>action_type/object_button</string>
- </tuple>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
@@ -33,9 +31,7 @@
</item>
<item>
<key> <string>description</string> </key>
- <value>
- <none/>
- </value>
+ <value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
@@ -81,7 +77,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>string:${object_url}/CheckbookDelivery_fastInputForm?your_fast_input_type=checkbook_vault_transfer</string> </value>
+ <value> <string>string:${object_url}/CheckbookDelivery_initFastInputForm?your_fast_input_type=checkbook_vault_transfer</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%20Check%20Purchase/fastinput.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%2520Check%2520Purchase/fastinput.xml?rev=42678&r1=42677&r2=42678&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%20Check%20Purchase/fastinput.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%20Check%20Purchase/fastinput.xml [utf8] Wed Jan 26 11:23:28 2011
@@ -77,7 +77,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>string:${object_url}/CheckbookDelivery_fastInputForm?fast_input_type=your_traveler_check_purchase</string> </value>
+ <value> <string>string:${object_url}/CheckbookDelivery_initFastInputForm?fast_input_type=your_traveler_check_purchase</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%20Check%20Sale/fastinput.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%2520Check%2520Sale/fastinput.xml?rev=42678&r1=42677&r2=42678&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%20Check%20Sale/fastinput.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_check/ActionTemplateItem/portal_types/Traveler%20Check%20Sale/fastinput.xml [utf8] Wed Jan 26 11:23:28 2011
@@ -77,7 +77,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>string:${object_url}/CheckbookDelivery_fastInputForm?your_fast_input_type=traveler_check_sale</string> </value>
+ <value> <string>string:${object_url}/CheckbookDelivery_initFastInputForm?your_fast_input_type=traveler_check_sale</string> </value>
</item>
</dictionary>
</pickle>
Added: erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_initFastInputForm.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_initFastInputForm.xml?rev=42678&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_initFastInputForm.xml (added)
+++ erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_initFastInputForm.xml [utf8] Wed Jan 26 11:23:28 2011
@@ -0,0 +1,146 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>Python_magic</string> </key>
+ <value>
+ <none/>
+ </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># TODO: pre-select entries in fast input for checkbooks already present on context.\n
+# Resuires modification to fast input listbox and checking all portal types using this script.\n
+# See CashContainer_initFastInputForm.\n
+\n
+context.REQUEST.form[\'list_start\'] = 0\n
+return context.CheckbookDelivery_fastInputForm()\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_filepath</string> </key>
+ <value>
+ <none/>
+ </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>_write_</string>
+ <string>_getattr_</string>
+<string>context</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>CheckbookDelivery_initFastInputForm</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_banking_check/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/bt/revision?rev=42678&r1=42677&r2=42678&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_check/bt/revision [utf8] Wed Jan 26 11:23:28 2011
@@ -1 +1 @@
-469
\ No newline at end of file
+479
\ No newline at end of file
More information about the Erp5-report
mailing list