diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewCheckPaymentLineFastInputAction.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewCheckPaymentLineFastInputAction.xml index 9e36bfc6863940c4509b9392921d638540b0f42f..e0994874d6ff3a89057d34643a05106161bc7642 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewCheckPaymentLineFastInputAction.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewCheckPaymentLineFastInputAction.xml @@ -66,21 +66,19 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>CashMovement_cashDetail_parameter = { \'line_portalType\' : \'Cash Delivery Line\' # The portal type that the fastinput will create\n -, \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID() # The operation currently\n -, \'cashStatus_list\' : [\'valid\'] # List of possible cashStatus or None if all\n -, \'emissionLetter_list\' : context.Baobab_getUserEmissionLetterList() #[\'k\',] # List of possible emissionLetter or None if all\n -, \'variation_list\' : [\'2003\'] # 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 -#, \'columnBase\' : \'emissionLetter\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\n -#, \'columnBase\' : \'cashStatus\' # possible values : \'variation\', \'cashStatus\', \'emissionLetter\'\n -}\n + <value> <string>cash_detail_dict = {\'line_portal_type\' : \'Cash Delivery Line\'\n + , \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID()\n + , \'cash_status_list\' : [\'valid\']\n + , \'emission_letter_list\' : context.Baobab_getUserEmissionLetterList()\n + , \'variation_list\' : contex.Baobab_getResourceVintageList(coin=1, banknote=1)\n + , \'currency_cash_portal_tType\' : 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 -, 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> @@ -89,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_check_payment/CheckPayment_viewCheckPaymentLineFastInputAction</string> </value> @@ -129,9 +133,10 @@ return context.CashDetail_fastInputUpdate( listbox = None\n <tuple> <string>_getattr_</string> <string>context</string> + <string>contex</string> <string>None</string> <string>True</string> - <string>CashMovement_cashDetail_parameter</string> + <string>cash_detail_dict</string> </tuple> </value> </item> @@ -159,4 +164,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>