diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashSorting_viewIncomingLineFastInputDialog.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashSorting_viewIncomingLineFastInputDialog.xml index 2fe15a71f8f899cec467edfbb643d3b90b1c5328..47ef748706881e3fbb2f8f34c21be07081d7befc 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashSorting_viewIncomingLineFastInputDialog.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashSorting_viewIncomingLineFastInputDialog.xml @@ -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> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashSorting_viewOutgoingLineFastInputDialog.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashSorting_viewOutgoingLineFastInputDialog.xml index e37bf977cb483ff930d95589c3f93297a38a374b..2e78467be1b364fb29dd74a04322c083fa48bafb 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashSorting_viewOutgoingLineFastInputDialog.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashSorting_viewOutgoingLineFastInputDialog.xml @@ -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> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/UsualCashTransfer_viewLineFastInputDialog.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/UsualCashTransfer_viewLineFastInputDialog.xml index 1277c94b47793f6bef91b8ff102a49963785e0b5..6bb13bd4f6d493107a3a04b844c9f9e921db1e5c 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/UsualCashTransfer_viewLineFastInputDialog.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/UsualCashTransfer_viewLineFastInputDialog.xml @@ -75,28 +75,29 @@ 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 - , destination = context.getObject().absolute_url()\n - )\n +return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n + , cash_detail_dict = cash_detail_dict\n + , destination = context.getObject().absolute_url()\n + )\n </string> </value> </item> <item> @@ -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>