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 @@
</item>
<item>
<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
, \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID() # The operation currently\n
, \'cashStatus_list\' : [\'to_sort\',] # List of possible cashStatus or None if all\n
, \'emissionLetter_list\' : [\'not_defined\',] # List of possible emissionLetter or None if all\n
, \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1) # List of possible variation or None if all\n
, \'currencyCash_portalType\' : \'Banknote\' # \'Coin\' or \'Banknote\' or None if both\n
, \'updatePossible\' : True # If true, the fastinput will not allow change\n
, \'columnBase\' : \'variation\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\n
}\n
<value> <string>cash_detail_dict = {\'line_portal_type\' : \'Incoming Cash Sorting Line\'\n
, \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID()\n
, \'cash_status_list\' : [\'to_sort\',]\n
, \'emission_letter_list\' : [\'not_defined\',]\n
, \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1)\n
, \'currency_cash_portal_type\': \'Banknote\'\n
, \'read_only\' : True\n
, \'column_base_category\' : \'variation\'\n
}\n
\n
return context.CashDetail_fastInputUpdate( listbox = None\n
, cashDetail_parameter = CashMovement_cashDetail_parameter\n
, destination = context.getObject().absolute_url())\n
return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url())\n
</string> </value>
</item>
<item>
......@@ -87,6 +87,12 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
<none/>
</value>
</item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<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
<string>_getattr_</string>
<string>context</string>
<string>True</string>
<string>CashMovement_cashDetail_parameter</string>
<string>cash_detail_dict</string>
<string>None</string>
</tuple>
</value>
......@@ -157,4 +163,25 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
</dictionary>
</pickle>
</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>
......@@ -66,19 +66,19 @@
</item>
<item>
<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
, \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID() # The operation currently\n
, \'cashStatus_list\' : [\'valid\', \'cancelled\', \'to_sort\'] # List of possible cashStatus or None if all\n
, \'emissionLetter_list\' : None # List of possible emissionLetter or None if all\n
, \'variation_list\' : [\'2003\',] # List of possible variation or None if all\n
, \'currencyCash_portalType\' : \'Banknote\' # \'Coin\' or \'Banknote\' or None if both\n
, \'updatePossible\' : True # If true, the fastinput will not allow change\n
, \'columnBase\' : \'variation\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\n
<value> <string>cash_detail_dict = {\'line_portal_type\' : \'Outgoing Cash Sorting Line\'\n
, \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID()\n
, \'cash_status_list\' : [\'valid\', \'cancelled\', \'to_sort\']\n
, \'emission_letter_list\' : None\n
, \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1)\n
, \'currency_cash_portal_type\': \'Banknote\'\n
, \'read_only\' : True\n
, \'column_base_category\' : \'variation\'\n
}\n
\n
return context.CashDetail_fastInputUpdate( listbox = None\n
, cashDetail_parameter = CashMovement_cashDetail_parameter\n
, destination = context.getObject().absolute_url())\n
return context.CashDelivery_generateCashDetailInputDialog( listbox = None\n
, cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url())\n
</string> </value>
</item>
<item>
......@@ -87,6 +87,12 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
<none/>
</value>
</item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<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
<string>context</string>
<string>None</string>
<string>True</string>
<string>CashMovement_cashDetail_parameter</string>
<string>cash_detail_dict</string>
</tuple>
</value>
</item>
......@@ -157,4 +163,25 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
</dictionary>
</pickle>
</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>
......@@ -75,26 +75,27 @@ if currency is None :\n
)\n
return request.RESPONSE.redirect( redirect_url )\n
\n
cashStatus = None\n
emissionLetter = None\n
variation = [\'2003\']\n
if currency != context.Baobab_getPortalReferenceCurrencyID():\n
cashStatus = [\'not_defined\']\n
emissionLetter = [\'not_defined\']\n
cash_status = [\'not_defined\']\n
emission_letter = [\'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
CashMovement_cashDetail_parameter = {\'line_portalType\' : \'Cash Delivery Line\' # The portal type that the fastinput will create\n
, \'operation_currency\' : currency # The operation currenty\n
, \'cashStatus_list\' : cashStatus # List of possible cashStatus or None if all\n
, \'emissionLetter_list\' : emissionLetter # List of possible emissionLetter or None if all\n
, \'variation_list\' : variation # List of possible variation or None if all\n
, \'currencyCash_portalType\': None # \'Coin\' or \'Banknote\' or None if both\n
, \'updatePossible\' : True # If true, the fastinput will not allow change\n
, \'columnBase\' : \'variation\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\n
}\n
cash_detail_dict = {\'line_portal_type\' : \'Cash Delivery Line\'\n
, \'operation_currency\' : currency\n
, \'cash_status_list\' : cash_status\n
, \'emission_letter_list\' : emission_letter\n
, \'variation_list\' : variation\n
, \'currency_cash_portal_type\': None\n
, \'read_only\' : True\n
, \'column_base_category\' : \'variation\'\n
}\n
\n
return context.CashDetail_fastInputUpdate( listbox = None\n
, cashDetail_parameter = CashMovement_cashDetail_parameter\n
return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url()\n
)\n
</string> </value>
......@@ -155,11 +156,11 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
<string>currency</string>
<string>None</string>
<string>redirect_url</string>
<string>cashStatus</string>
<string>emissionLetter</string>
<string>cash_status</string>
<string>emission_letter</string>
<string>variation</string>
<string>True</string>
<string>CashMovement_cashDetail_parameter</string>
<string>cash_detail_dict</string>
</tuple>
</value>
</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