diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/Base_checkOrCreateCheck.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/Base_checkOrCreateCheck.xml index bf581474b6917c16246e5b095c6a06920b41df4e..3b86145ec9817cf81d755d3b0c37caadb90e174b 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/Base_checkOrCreateCheck.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/Base_checkOrCreateCheck.xml @@ -157,7 +157,7 @@ for check_reference in reference_list:\n # Get a checkbook for this bank account.\n checkbook = None\n if resource_value is None:\n - resource_value = portal.restristedTraverse(resource)\n + resource_value = portal.restrictedTraverse(resource)\n composition_related_list = resource_value.getCompositionRelatedValueList()\n if len(composition_related_list) == 0:\n msg = Message(domain = "ui", message="Sorry, no checkbook model found")\n diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision index 37c3b662e16c794da564bef5ff6f9294b7cb2fa1..d903d597234bc96adec8c970a520682d3913bf41 100644 --- a/bt5/erp5_banking_check/bt/revision +++ b/bt5/erp5_banking_check/bt/revision @@ -1 +1 @@ -227 \ No newline at end of file +229 \ No newline at end of file