From 3fb4bc19136c37807f8301da5cc0452f3241eb2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Mon, 27 Nov 2006 16:22:06 +0000 Subject: [PATCH] convert letter with upper to do comparison git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11500 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../monetary_reception_workflow/scripts/checkDestination.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_reception_workflow/scripts/checkDestination.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_reception_workflow/scripts/checkDestination.xml index 5000841be9..c5ba7a3841 100644 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_reception_workflow/scripts/checkDestination.xml +++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_reception_workflow/scripts/checkDestination.xml @@ -84,7 +84,7 @@ if \'encaisse_des_billets_retires_de_la_circulation\' in dest.getRelativeUrl():\ \n # check between letter and destination site codification\n line_letter = object.objectValues(portal_type=\'Cash Delivery Line\')[0].objectValues()[0].getEmissionLetter()\n -if line_letter != dest.getCodification()[0]:\n +if line_letter.lower() != dest.getCodification()[0].lower():\n msg = Message(domain="ui", message="Letter defined on line do not correspond to destination site.")\n raise ValidationFailed, (msg,)\n </string> </value> -- 2.30.9