Commit 05262c38 authored by Aurel's avatar Aurel

update fast input script to follow naming convention

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7095 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 77ed3fee
...@@ -66,19 +66,19 @@ ...@@ -66,19 +66,19 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>CashMovement_cashDetail_parameter = { \'line_portalType\' : \'Incoming Cash Sorting Line\' # The portal type that the fastinput will create\n <value> <string>cash_detail_dict = {\'line_portal_type\' : \'Incoming Cash Sorting Line\'\n
, \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID() # The operation currently\n , \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID()\n
, \'cashStatus_list\' : [\'to_sort\',] # List of possible cashStatus or None if all\n , \'cash_status_list\' : [\'to_sort\',]\n
, \'emissionLetter_list\' : [\'not_defined\',] # List of possible emissionLetter or None if all\n , \'emission_letter_list\' : [\'not_defined\',]\n
, \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1) # List of possible variation or None if all\n , \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1)\n
, \'currencyCash_portalType\' : \'Banknote\' # \'Coin\' or \'Banknote\' or None if both\n , \'currency_cash_portal_type\': \'Banknote\'\n
, \'updatePossible\' : True # If true, the fastinput will not allow change\n , \'read_only\' : True\n
, \'columnBase\' : \'variation\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\n , \'column_base_category\' : \'variation\'\n
}\n }\n
\n \n
return context.CashDetail_fastInputUpdate( listbox = None\n return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cashDetail_parameter = CashMovement_cashDetail_parameter\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url())\n , destination = context.getObject().absolute_url())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -87,6 +87,12 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -87,6 +87,12 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_cash/CashSorting_viewIncomingLineFastInputDialog</string> </value> <value> <string>Script (Python):/baobab/portal_skins/erp5_banking_cash/CashSorting_viewIncomingLineFastInputDialog</string> </value>
...@@ -128,7 +134,7 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -128,7 +134,7 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>True</string> <string>True</string>
<string>CashMovement_cashDetail_parameter</string> <string>cash_detail_dict</string>
<string>None</string> <string>None</string>
</tuple> </tuple>
</value> </value>
...@@ -157,4 +163,25 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -157,4 +163,25 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -66,19 +66,19 @@ ...@@ -66,19 +66,19 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>CashMovement_cashDetail_parameter = { \'line_portalType\' : \'Outgoing Cash Sorting Line\' # The portal type that the fastinput will create\n <value> <string>cash_detail_dict = {\'line_portal_type\' : \'Outgoing Cash Sorting Line\'\n
, \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID() # The operation currently\n , \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID()\n
, \'cashStatus_list\' : [\'valid\', \'cancelled\', \'to_sort\'] # List of possible cashStatus or None if all\n , \'cash_status_list\' : [\'valid\', \'cancelled\', \'to_sort\']\n
, \'emissionLetter_list\' : None # List of possible emissionLetter or None if all\n , \'emission_letter_list\' : None\n
, \'variation_list\' : [\'2003\',] # List of possible variation or None if all\n , \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1)\n
, \'currencyCash_portalType\' : \'Banknote\' # \'Coin\' or \'Banknote\' or None if both\n , \'currency_cash_portal_type\': \'Banknote\'\n
, \'updatePossible\' : True # If true, the fastinput will not allow change\n , \'read_only\' : True\n
, \'columnBase\' : \'variation\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\n , \'column_base_category\' : \'variation\'\n
}\n }\n
\n \n
return context.CashDetail_fastInputUpdate( listbox = None\n return context.CashDelivery_generateCashDetailInputDialog( listbox = None\n
, cashDetail_parameter = CashMovement_cashDetail_parameter\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url())\n , destination = context.getObject().absolute_url())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -87,6 +87,12 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -87,6 +87,12 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_cash/CashSorting_viewOutgoingLineFastInputDialog</string> </value> <value> <string>Script (Python):/baobab/portal_skins/erp5_banking_cash/CashSorting_viewOutgoingLineFastInputDialog</string> </value>
...@@ -129,7 +135,7 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -129,7 +135,7 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
<string>context</string> <string>context</string>
<string>None</string> <string>None</string>
<string>True</string> <string>True</string>
<string>CashMovement_cashDetail_parameter</string> <string>cash_detail_dict</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -157,4 +163,25 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -157,4 +163,25 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -75,26 +75,27 @@ if currency is None :\n ...@@ -75,26 +75,27 @@ if currency is None :\n
)\n )\n
return request.RESPONSE.redirect( redirect_url )\n return request.RESPONSE.redirect( redirect_url )\n
\n \n
cashStatus = None\n
emissionLetter = None\n
variation = [\'2003\']\n
if currency != context.Baobab_getPortalReferenceCurrencyID():\n if currency != context.Baobab_getPortalReferenceCurrencyID():\n
cashStatus = [\'not_defined\']\n cash_status = [\'not_defined\']\n
emissionLetter = [\'not_defined\']\n emission_letter = [\'not_defined\']\n
variation = [\'not_defined\']\n variation = [\'not_defined\']\n
else:\n
cash_status = None\n
emission_letter = None\n
variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n
\n \n
CashMovement_cashDetail_parameter = {\'line_portalType\' : \'Cash Delivery Line\' # The portal type that the fastinput will create\n cash_detail_dict = {\'line_portal_type\' : \'Cash Delivery Line\'\n
, \'operation_currency\' : currency # The operation currenty\n , \'operation_currency\' : currency\n
, \'cashStatus_list\' : cashStatus # List of possible cashStatus or None if all\n , \'cash_status_list\' : cash_status\n
, \'emissionLetter_list\' : emissionLetter # List of possible emissionLetter or None if all\n , \'emission_letter_list\' : emission_letter\n
, \'variation_list\' : variation # List of possible variation or None if all\n , \'variation_list\' : variation\n
, \'currencyCash_portalType\': None # \'Coin\' or \'Banknote\' or None if both\n , \'currency_cash_portal_type\': None\n
, \'updatePossible\' : True # If true, the fastinput will not allow change\n , \'read_only\' : True\n
, \'columnBase\' : \'variation\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\n , \'column_base_category\' : \'variation\'\n
}\n }\n
\n \n
return context.CashDetail_fastInputUpdate( listbox = None\n return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cashDetail_parameter = CashMovement_cashDetail_parameter\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url()\n , destination = context.getObject().absolute_url()\n
)\n )\n
</string> </value> </string> </value>
...@@ -155,11 +156,11 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -155,11 +156,11 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
<string>currency</string> <string>currency</string>
<string>None</string> <string>None</string>
<string>redirect_url</string> <string>redirect_url</string>
<string>cashStatus</string> <string>cash_status</string>
<string>emissionLetter</string> <string>emission_letter</string>
<string>variation</string> <string>variation</string>
<string>True</string> <string>True</string>
<string>CashMovement_cashDetail_parameter</string> <string>cash_detail_dict</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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