diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDelivery_generateCheckDetailInputDialog.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDelivery_generateCheckDetailInputDialog.xml index 8a74e255ec2830fa2ae76747a5d555820eaec577..ba28df2bb8d89f137959dd6c69ac789e0b040e33 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDelivery_generateCheckDetailInputDialog.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDelivery_generateCheckDetailInputDialog.xml @@ -179,7 +179,10 @@ if batch_mode:\n return error_value\n else:\n context.Base_updateDialogForm(listbox=listbox\n - ,empty_line_number=0 )\n + , portal_type = context.getPortalType()\n + , resource=resource\n + , previous_resource=resource\n + ,empty_line_number=0 )\n if field_error_dict != {}:\n request.set(\'field_errors\', field_error_dict)\n kw[\'REQUEST\'] = request\n diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDetail_viewLineFastInputForm/my_previous_resource.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDetail_viewLineFastInputForm/my_previous_resource.xml index 2231f552fcbcb576c8fb8fea54ccfdd1d6ef1b08..46996db47e59fc9005752ef75eb073cc74b5b686 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDetail_viewLineFastInputForm/my_previous_resource.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDetail_viewLineFastInputForm/my_previous_resource.xml @@ -247,7 +247,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>my_previous_item_portal_type</string> </value> + <value> <string>my_previous_resource</string> </value> </item> <item> <key> <string>truncate</string> </key> @@ -281,7 +281,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: here.getProperty(\'resource\')</string> </value> + <value> <string>python: here.getProperty(\'previous_resource\', \'\')</string> </value> </item> </dictionary> </pickle> @@ -300,7 +300,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: \'\'</string> </value> + <value> <string>python: None</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision index 9cd72aa941214d4cb8522dda34eb12cf878e3e8b..0aeb5485442b9ed8a2d59d629933a00db4473ebf 100644 --- a/bt5/erp5_banking_check/bt/revision +++ b/bt5/erp5_banking_check/bt/revision @@ -1 +1 @@ -72 \ No newline at end of file +74 \ No newline at end of file