Commit 77ed3fee authored by Aurel's avatar Aurel

update fast input script to respect naming convention

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7094 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7ed9df5e
...@@ -66,21 +66,19 @@ ...@@ -66,21 +66,19 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>CashMovement_cashDetail_parameter = { \'line_portalType\' : \'Cash Delivery Line\' # The portal type that the fastinput will create\n <value> <string>cash_detail_dict = {\'line_portal_type\' : \'Cash Delivery Line\'\n
, \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID() # The operation currently\n , \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID()\n
, \'cashStatus_list\' : [\'valid\'] # List of possible cashStatus or None if all\n , \'cash_status_list\' : [\'valid\']\n
, \'emissionLetter_list\' : context.Baobab_getUserEmissionLetterList() #[\'k\',] # List of possible emissionLetter or None if all\n , \'emission_letter_list\' : context.Baobab_getUserEmissionLetterList()\n
, \'variation_list\' : [\'2003\'] # List of possible variation or None if all\n , \'variation_list\' : contex.Baobab_getResourceVintageList(coin=1, banknote=1)\n
, \'currencyCash_portalType\' : None # \'Coin\' or \'Banknote\' or None if both\n , \'currency_cash_portal_tType\' : 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
#, \'columnBase\' : \'emissionLetter\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\n }\n
#, \'columnBase\' : \'cashStatus\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\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>
...@@ -89,6 +87,12 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -89,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_check_payment/CheckPayment_viewCheckPaymentLineFastInputAction</string> </value> <value> <string>Script (Python):/baobab/portal_skins/erp5_banking_check_payment/CheckPayment_viewCheckPaymentLineFastInputAction</string> </value>
...@@ -129,9 +133,10 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -129,9 +133,10 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
<tuple> <tuple>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>contex</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>
...@@ -159,4 +164,25 @@ return context.CashDetail_fastInputUpdate( listbox = None\n ...@@ -159,4 +164,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>
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