[Erp5-report] r16151 - in /erp5/trunk/bt5/erp5_banking_cash: WorkflowTemplateItem/portal_wo...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Sep 7 12:00:42 CEST 2007
Author: vincent
Date: Fri Sep 7 12:00:40 2007
New Revision: 16151
URL: http://svn.erp5.org?rev=16151&view=rev
Log:
Resync messages with actual errors. Swap tests instead of messages to stay similar to cash_to_currency_purchase_workflow/scripts/validateVaultBalance.
Modified:
erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/scripts/validateVaultBalance.xml
erp5/trunk/bt5/erp5_banking_cash/bt/revision
Modified: erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/scripts/validateVaultBalance.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/scripts/validateVaultBalance.xml?rev=16151&r1=16150&r2=16151&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/scripts/validateVaultBalance.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/scripts/validateVaultBalance.xml Fri Sep 7 12:00:40 2007
@@ -118,10 +118,10 @@
if resource_one == 2:\n
msg = Message(domain="ui", message="No Resource.")\n
raise ValidationFailed, (msg,)\n
-elif billetage_sorti != base_price :\n
+elif billetage_entre != quantity :\n
msg = Message(domain="ui", message="Received amount is different from input cash.")\n
raise ValidationFailed, (msg,)\n
-elif billetage_entre != quantity :\n
+elif billetage_sorti != base_price :\n
msg = Message(domain="ui", message="Return amount is different from output cash")\n
raise ValidationFailed, (msg,) \n
elif resource_one != 0 :\n
Modified: erp5/trunk/bt5/erp5_banking_cash/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/revision?rev=16151&r1=16150&r2=16151&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/revision Fri Sep 7 12:00:40 2007
@@ -1,1 +1,1 @@
-497
+498
More information about the Erp5-report
mailing list